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>

authored by Jeff Kirsher and committed by David S. Miller e82f54ba 3ee82383

+1
+1
drivers/net/e1000e/netdev.c
··· 5009 5009 err_sw_init: 5010 5010 if (adapter->hw.flash_address) 5011 5011 iounmap(adapter->hw.flash_address); 5012 + e1000e_reset_interrupt_capability(adapter); 5012 5013 err_flashmap: 5013 5014 iounmap(adapter->hw.hw_addr); 5014 5015 err_ioremap: