aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorjbrunet <[email protected]>2016-12-19 16:05:36 +0100
committerDavid S. Miller <[email protected]>2016-12-20 13:50:49 -0500
commit3bb9ab63276696988d8224f52db20e87194deb4b (patch)
tree1ce8aae62636d72ccac8079fb1e2306dfb29a3e2 /scripts/gdb/linux/proc.py
parent0a28cfd51e17f4f0a056bcf66bfbe492c3b99f38 (diff)
net: phy: fix sign type error in genphy_config_eee_advert
In genphy_config_eee_advert, the return value of phy_read_mmd_indirect is checked to know if the register could be accessed but the result is assigned to a 'u32'. Changing to 'int' to correctly get errors from phy_read_mmd_indirect. Fixes: d853d145ea3e ("net: phy: add an option to disable EEE advertisement") Reported-by: Julia Lawall <[email protected]> Signed-off-by: Jerome Brunet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions