summaryrefslogtreecommitdiff
path: root/scripts/cleanpatch
diff options
context:
space:
mode:
authorChris Brandt <[email protected]>2017-11-03 08:30:13 -0500
committerJoe Hershberger <[email protected]>2018-01-15 12:05:17 -0600
commit33bab1045773dea9f1bac24569a7f4e29072fd20 (patch)
treef9ddd9ca62460d8200395d1af2ee19abf4e4edc9 /scripts/cleanpatch
parentf6ac626c8a54fc4062e4be68274dda187e103245 (diff)
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: dfcc496ed7e2 ("net: mii: Changes not made by spatch") Signed-off-by: Chris Brandt <[email protected]> Acked-by: Nobuhiro Iwamatsu <[email protected]> Acked-by: Joe Hershberger <[email protected]>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions