summaryrefslogtreecommitdiff
path: root/drivers/net/ucc_geth.c
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 /drivers/net/ucc_geth.c
parent2bf56fe25cef2a7652f7b2ab37ac14a336c76c75 (diff)
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 'drivers/net/ucc_geth.c')
0 files changed, 0 insertions, 0 deletions