Re: [PATCH net] qtnfmac: Missing platform_device_unregister() on error in qtnf_core_mac_alloc()
From: Kalle Valo <hidden>
Date: 2020-08-02 15:20:55
Also in:
lkml, netdev
From: Kalle Valo <hidden>
Date: 2020-08-02 15:20:55
Also in:
lkml, netdev
Wang Hai [off-list ref] 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 <redacted>
Signed-off-by: Wang Hai <redacted>
Reviewed-by: Sergey Matyukevich <geomatsi@gmail.com>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