Re: p54: drop device reference count if fails to enable device

From: Kalle Valo
Date: Thu Apr 25 2019 - 12:57:34 EST


Pan Bian <bianpan2016@xxxxxxx> wrote:

> 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@xxxxxxxxxxxxxxx
> Signed-off-by: Pan Bian <bianpan2016@xxxxxxx>
> Acked-by: Christian Lamparter <chunkeey@xxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

8149069db818 p54: drop device reference count if fails to enable device

--
https://patchwork.kernel.org/patch/10905039/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches