linux/drivers/net/wireless/intersil/p54
Pan Bian 8149069db8 p54: drop device reference count if fails to enable device
The function p54p_probe takes an extra reference count of the PCI
device. However, the extra reference count is not dropped when it fails
to enable the PCI device. This patch fixes the bug.

Cc: stable@vger.kernel.org
Signed-off-by: Pan Bian <bianpan2016@163.com>
Acked-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-04-25 19:56:56 +03:00
..
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
eeprom.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
eeprom.h
fwio.c networking: make skb_put & friends return void pointers 2017-06-16 11:48:39 -04:00
led.c
lmac.h
main.c wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
p54.h
p54pci.c p54: drop device reference count if fails to enable device 2019-04-25 19:56:56 +03:00
p54pci.h
p54spi.c networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
p54spi.h
p54spi_eeprom.h
p54usb.c p54: constify usb_device_id 2017-08-10 11:55:58 +03:00
p54usb.h
txrx.c p54: Use skb_peek_tail() instead of direct head pointer accesses. 2018-09-10 10:06:53 -07:00