diff options
author | Wei Yongjun | 2013-10-12 08:24:08 +0200 |
---|---|---|
committer | David S. Miller | 2013-10-17 21:39:50 +0200 |
commit | 09b69024d97356fb660d1162e172ed4f1be7ceae (patch) | |
tree | 989493bcb49e36f9adbe4096ebf97f8a416ad821 /drivers/usb/storage/unusual_karma.h | |
parent | Merge branch 'sctp_csum' (diff) | |
download | kernel-qcow2-linux-09b69024d97356fb660d1162e172ed4f1be7ceae.tar.gz kernel-qcow2-linux-09b69024d97356fb660d1162e172ed4f1be7ceae.tar.xz kernel-qcow2-linux-09b69024d97356fb660d1162e172ed4f1be7ceae.zip |
usbnet: fix error return code in usbnet_probe()
Fix to return -ENOMEM in the padding pkt alloc fail error handling
case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb/storage/unusual_karma.h')
0 files changed, 0 insertions, 0 deletions