summaryrefslogtreecommitdiff
path: root/net/batman-adv/distributed-arp-table.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2016-05-03 20:14:41 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-05-04 20:14:19 (GMT)
commite98a3aabf85f60b80c6ef93e509d38144ca434b1 (patch)
tree9a6cd126ccfde25d06e8c96031f8b200f8080492 /net/batman-adv/distributed-arp-table.c
parent4d659fcb20d3d3302b429c889a73a92ff2804b9a (diff)
downloadlinux-e98a3aabf85f60b80c6ef93e509d38144ca434b1.tar.xz
mdio_bus: don't return NULL from mdiobus_scan()
I've finally noticed that mdiobus_scan() also returns either NULL or error value on failure. Return ERR_PTR(-ENODEV) instead of NULL since this is the error value already filtered out by the callers that want to ignore the MDIO address scan failure... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/distributed-arp-table.c')
0 files changed, 0 insertions, 0 deletions