commit | 952bdd3b83218702001803ca9c01dba8d4af4d70 | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@xilinx.com> | Wed Jun 13 10:33:49 2018 +0200 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Wed Jun 13 13:54:18 2018 -0500 |
tree | 13d7c870fc9965a4bba194284100cfc172e9e272 | |
parent | 70551ca8b98d380f672a15ce91d1e0b37429bd19 [diff] |
net: zynq_gem: Initialize phyreg variable 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 <michal.simek@xilinx.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>