diff options
author | Tillmann Heidsieck <theidsieck@leenox.de> | 2015-10-10 21:47:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-13 04:56:26 +0200 |
commit | 21e26ff993dea9dceaf0f19cfec4bef58387b0f2 (patch) | |
tree | bf9fe0215bbe80eeb72d59ed7416229127e75d82 /net/bridge/br_netlink.c | |
parent | ipv6 route: use err pointers instead of returning pointer by reference (diff) | |
download | linux-21e26ff993dea9dceaf0f19cfec4bef58387b0f2.tar.xz linux-21e26ff993dea9dceaf0f19cfec4bef58387b0f2.zip |
atm: iphase: return -ENOMEM instead of -1 in case of failed kmalloc()
Smatch complains about returning hard coded error codes, silence this
warning.
drivers/atm/iphase.c:115 ia_enque_rtn_q() warn: returning -1 instead of -ENOMEM is sloppy
Signed-off-by: Tillmann Heidsieck <theidsieck@leenox.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_netlink.c')
0 files changed, 0 insertions, 0 deletions