Re: [U-Boot] [PATCH] net: zynq_gem: Initialize phyreg variable

2018-06-13 Thread Joe Hershberger
On Wed, Jun 13, 2018 at 3:33 AM, Michal Simek wrote: > In case of phyread()/phy_setup_op() timeout code is working with > uninitialized phyreg variable. Initialize this variable to make sure > that code it not working with random value. > > Signed-off-by: Michal Simek Acked-by: Joe Hershberger

[U-Boot] [PATCH] net: zynq_gem: Initialize phyreg variable

2018-06-13 Thread Michal Simek
In case of phyread()/phy_setup_op() timeout code is working with uninitialized phyreg variable. Initialize this variable to make sure that code it not working with random value. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --