Re: [PATCH 1/5] sky2: handle network device allocation failure

2007-01-31 Thread Jeff Garzik
[EMAIL PROTECTED] wrote: 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 [EMAIL PROTECTED] applied - To unsubscribe from this list: send the line unsubscribe netdev in the body

[PATCH 1/5] sky2: handle network device allocation failure

2007-01-26 Thread shemminger
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 [EMAIL PROTECTED] --- sky2-2.6.orig/drivers/net/sky2.c2007-01-25 13:09:31.0 -0800 +++ sky2-2.6/drivers/net/sky2.c