]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: net: pfe_eth: undefined return value
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 30 Jul 2019 22:00:51 +0000 (00:00 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 4 Sep 2019 16:37:19 +0000 (11:37 -0500)
commit9bbff5478e7b9e66b25da59da85e88924b79eb2e
tree74af7494a659bbb62d057b57be19e835dde5c237
parentfd6d88f55baee946d2a1bd16e7344486cf140c94
drivers: net: pfe_eth: undefined return value

Do not use random value from stack as return value of pfe_phy_write().

Indicated by cppcheck.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/pfe_eth/pfe_mdio.c