aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorBoris BREZILLON <[email protected]>2013-08-27 14:36:14 +0200
committerDavid S. Miller <[email protected]>2013-08-29 15:21:45 -0400
commit7daa78e352fec0f638e1e665365779678845fd66 (patch)
treecb11d42d763faf52ca47f20fb58fb5d5db148fc8 /tools/perf/scripts/python/net_dropmonitor.py
parentfd094808a06e290432fc13c09aae808aea34d2ca (diff)
net/cadence/macb: fix invalid 0 return if no phy is discovered on mii init
Replace misleading -1 (-EPERM) by a more appropriate return code (-ENXIO) in macb_mii_probe function. Save macb_mii_probe return before branching to err_out_unregister to avoid erronous 0 return. Signed-off-by: Boris BREZILLON <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions