diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-01-05 01:40:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-06 22:18:07 +0300 |
commit | 9c86c0f4ba49b39f909d7f18731b91e563e07065 (patch) | |
tree | 70a179d53210068875525163f3350f7665bb9dae /net/ipv4/ip_fragment.c | |
parent | 2a8fe003741aa90b6b9453e90af4bbb7bc42918c (diff) | |
download | linux-9c86c0f4ba49b39f909d7f18731b91e563e07065.tar.xz |
net: r6040: Return proper error for r6040_init_one
Return -ENOMEM instead of 0 for the case of mdiobus_alloc and kmalloc failure.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_fragment.c')
0 files changed, 0 insertions, 0 deletions