Re: [PATCH net] qtnfmac: Missing platform_device_unregister() on error in qtnf_core_mac_alloc()

From: Kalle Valo
Date: Sun Aug 02 2020 - 11:20:54 EST


Wang Hai <wanghai38@xxxxxxxxxx> wrote:

> Add the missing platform_device_unregister() before return from
> qtnf_core_mac_alloc() in the error handling case.
>
> Fixes: 616f5701f4ab ("qtnfmac: assign each wiphy to its own virtual platform device")
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: Wang Hai <wanghai38@xxxxxxxxxx>
> Reviewed-by: Sergey Matyukevich <geomatsi@xxxxxxxxx>

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

141bc9abbbff qtnfmac: Missing platform_device_unregister() on error in qtnf_core_mac_alloc()

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

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