* [U-Boot] [PATCH] net: fec_mxc: Fix corruption of device tree blob.
@ 2017-02-02 11:11 Daniel Strnad
2017-02-02 17:56 ` Joe Hershberger
2017-02-09 16:27 ` [U-Boot] " Joe Hershberger
0 siblings, 2 replies; 3+ messages in thread
From: Daniel Strnad @ 2017-02-02 11:11 UTC (permalink / raw)
To: u-boot
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>
---
drivers/net/fec_mxc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c
index 3304fddc69..9e9b8beb92 100644
--- a/drivers/net/fec_mxc.c
+++ b/drivers/net/fec_mxc.c
@@ -1240,7 +1240,6 @@ static int fecmxc_probe(struct udevice *dev)
}
fec_reg_setup(priv);
- fec_set_dev_name((char *)dev->name, dev_id);
priv->dev_id = (dev_id == -1) ? 0 : dev_id;
return 0;
--
2.11.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] net: fec_mxc: Fix corruption of device tree blob.
2017-02-02 11:11 [U-Boot] [PATCH] net: fec_mxc: Fix corruption of device tree blob Daniel Strnad
@ 2017-02-02 17:56 ` Joe Hershberger
2017-02-09 16:27 ` [U-Boot] " Joe Hershberger
1 sibling, 0 replies; 3+ messages in thread
From: Joe Hershberger @ 2017-02-02 17:56 UTC (permalink / raw)
To: u-boot
On Thu, Feb 2, 2017 at 5:11 AM, Daniel Strnad <strnadda@gmail.com> wrote:
> 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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] net: fec_mxc: Fix corruption of device tree blob
2017-02-02 11:11 [U-Boot] [PATCH] net: fec_mxc: Fix corruption of device tree blob Daniel Strnad
2017-02-02 17:56 ` Joe Hershberger
@ 2017-02-09 16:27 ` Joe Hershberger
1 sibling, 0 replies; 3+ messages in thread
From: Joe Hershberger @ 2017-02-09 16:27 UTC (permalink / raw)
To: u-boot
Hi Daniel,
https://patchwork.ozlabs.org/patch/722979/ was applied to u-boot-net.git.
Thanks!
-Joe
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-09 16:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-02 11:11 [U-Boot] [PATCH] net: fec_mxc: Fix corruption of device tree blob Daniel Strnad
2017-02-02 17:56 ` Joe Hershberger
2017-02-09 16:27 ` [U-Boot] " Joe Hershberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox