1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-07 23:29:17 +01:00
Files
u-boot-megous/drivers/net/phy
Chris Brandt 33bab10457 net: miiphybb: fix casting error
Since the return value is a signed int, if the leading MSB of rdreg is a 1,
it will get signed extended and will return a negative value which is an
error even though we read the correct value.

Fixes: dfcc496ed7 ("net: mii: Changes not made by spatch")
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
2018-01-15 12:05:17 -06:00
..
2018-01-15 12:05:17 -06:00
2017-01-28 14:04:47 -05:00