diff options
author | Jia-Ju Bai <baijiaju1990@163.com> | 2014-12-23 04:29:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-27 08:20:55 +0100 |
commit | eb69c5bf8273edbe1c5c748fa299b5e5a08f35d6 (patch) | |
tree | 3681c575923fad64885a4023790ade0588ce785d /kernel | |
parent | bonding: change error message to debug message in __bond_release_one() (diff) | |
download | linux-eb69c5bf8273edbe1c5c748fa299b5e5a08f35d6.tar.xz linux-eb69c5bf8273edbe1c5c748fa299b5e5a08f35d6.zip |
ne2k-pci: Add pci_disable_device in error handling
For linux-3.18.0
The driver lacks pci_disable_device in error handling code of
ne2k_pci_init_one, so the device enabled by pci_enable_device is not
disabled when errors occur.
This patch fixes this problem.
Signed-off-by: Jia-Ju Bai <baijiaju1990@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions