Re: [PATCH net] qtnfmac: fix error return code in qtnf_pcie_probe()

From: Kalle Valo
Date: Tue Nov 24 2020 - 10:04:04 EST


Wang Hai <wanghai38@xxxxxxxxxx> wrote:

> Fix to return a negative error code from the error handling
> case instead of 0, as done elsewhere in this function.
>
> Fixes: b7da53cd6cd1 ("qtnfmac_pcie: use single PCIe driver for all platforms")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Wang Hai <wanghai38@xxxxxxxxxx>

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

31e07aa33fa7 qtnfmac: fix error return code in qtnf_pcie_probe()

--
https://patchwork.kernel.org/project/linux-wireless/patch/20201114123347.29632-1-wanghai38@xxxxxxxxxx/

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