diff options
author | shemminger@linux-foundation.org <shemminger@linux-foundation.org> | 2007-01-26 11:38:36 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-05 16:58:49 -0500 |
commit | 7f60c64bd0e7262b51faefcce5d8df9d51d84b60 (patch) | |
tree | 95e1abd4cc6fe82d6b146113eda8fa15a9c8603a /drivers/serial/vr41xx_siu.c | |
parent | 2bf56fe25cef2a7652f7b2ab37ac14a336c76c75 (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/serial/vr41xx_siu.c')
0 files changed, 0 insertions, 0 deletions