]> git.baikalelectronics.ru Git - kernel.git/commit
netxen: Fix a panic during driver unload in device_remove_file
authorRajesh Borundia <rajesh.borundia@qlogic.com>
Fri, 3 Feb 2012 11:35:14 +0000 (11:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Feb 2012 20:59:29 +0000 (15:59 -0500)
commit096c0da45d77fe0a5404aa5919b5831ebe0bd132
tree59f6d7c56eb6467fb465a7eb9842675da25e6959
parent315b28fe9d2b1f39dcac6aae24a3dc838dfbd601
netxen: Fix a panic during driver unload in device_remove_file

o Pass adapter->pdev->dev instead of netdev->dev

Signed-off-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c