qlcnic: fix pci resource leak
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Sun, 18 Jul 2010 21:51:59 +0000 (14:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Jul 2010 21:51:59 +0000 (14:51 -0700)
commitbfc978fa5f3005e5dfb39c52393c3339f4f00233
tree8993955e9e4c6156696811800ec6d44536e417c5
parent4a1745fc54e22e9fa928d72f97ee0e91449c9fd0
qlcnic: fix pci resource leak

pci_get_domain_bus_and_slot: caller must decrement the
reference count by calling pci_dev_put().

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_main.c