commit | d1b226b7d403b29c1064318097d972ce804e96e7 | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@xilinx.com> | Thu Jun 14 09:08:44 2018 +0200 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Mon Jul 02 14:14:19 2018 -0500 |
tree | a1cc54cf6bcd98f7e7d7db1abad4c90ad6684e60 | |
parent | ac378bb05fa3cac3197085431f577e0dbddd4b4a [diff] |
net: zynq_gem: Initialize val variable in zynq_gem_miiphy_read() phyread can timeout and val will contain random value. Initialize it to zero not to report random value in case of error. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>