]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
e1000e: fix warn_on reload after phy_id error
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 14 Nov 2008 06:45:07 +0000 (06:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Nov 2008 03:05:02 +0000 (19:05 -0800)
commite82f54ba030b429c06b5240cbe7eeaaa03a8db11
treec1502656045e4aa37d2f6379484a4eaab1922eab
parent3ee82383f0098a2e13acc8cf1be8e47512f41e5a
e1000e: fix warn_on reload after phy_id error

If the driver fails to initialize the first time due to the failure in the
phy_id check the kernel triggers a warn_on on the second try to load the
driver because the driver did not free the msi/x resources in the first
load because of the previous failure in phy_id check.

Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/netdev.c