From: shemminger@linux-foundation.org Date: Fri, 26 Jan 2007 19:38:36 +0000 (-0800) Subject: sky2: handle network device allocation failure X-Git-Tag: v2.6.21-rc1~92^2~31^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f60c64bd0e7262b51faefcce5d8df9d51d84b60;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed