summary refs log tree commit diff
path: root/include/asm-s390
diff options
context:
space:
mode:
authorshemminger@linux-foundation.org <shemminger@linux-foundation.org>2007-01-26 11:38:36 -0800
committerJeff Garzik <jeff@garzik.org>2007-02-05 16:58:49 -0500
commit7f60c64bd0e7262b51faefcce5d8df9d51d84b60 (patch)
tree95e1abd4cc6fe82d6b146113eda8fa15a9c8603a /include/asm-s390
parent2bf56fe25cef2a7652f7b2ab37ac14a336c76c75 (diff)
downloadlinux-7f60c64bd0e7262b51faefcce5d8df9d51d84b60.tar.gz
sky2: handle network device allocation failure
If alloc_etherdev() failed, then sky2_init_netdev will return NULL,
and sky2_probe would end up returning 0 instead of -ENOMEM.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/asm-s390')
0 files changed, 0 insertions, 0 deletions