Re: [PATCH wireless] adm8211: fix error return code in adm8211_probe()

From: Kalle Valo
Date: Mon Dec 07 2020 - 11:37:01 EST


Zhang Changzhong <zhangchangzhong@xxxxxxxxxx> wrote:

> Fix to return a negative error code from the error handling
> case instead of 0, as done elsewhere in this function.
>
> Fixes: cc0b88cf5ecf ("[PATCH] Add adm8211 802.11b wireless driver")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Zhang Changzhong <zhangchangzhong@xxxxxxxxxx>

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

05c2a61d69ea adm8211: fix error return code in adm8211_probe()

--
https://patchwork.kernel.org/project/linux-wireless/patch/1607071638-33619-1-git-send-email-zhangchangzhong@xxxxxxxxxx/

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