]> git.sur5r.net Git - u-boot/commit
net: fec_mxc: Fix corruption of device tree blob
authorDaniel Strnad <strnadda@gmail.com>
Thu, 2 Feb 2017 11:11:40 +0000 (12:11 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 7 Feb 2017 16:54:34 +0000 (10:54 -0600)
commit5ad9204fa9b2eb592f8c9868b23904638987bbd0
treeaae04c2cb0c261811d2f92d8320ff15ae7bdb2a5
parent655217d968807a17df40fee3795e95bee92e5559
net: fec_mxc: Fix corruption of device tree blob

Modifying content of dev->name leads to the device tree corruption
because it points to the node name located there.

Signed-off-by: Daniel Strnad <strnadda@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/fec_mxc.c