2020-04-15 22:40:03

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH 4/9] brcmsmac: Add missing annotation for brcms_rfkill_set_hw_state()

Jules Irenge <[email protected]> wrote:

> Sparse reports a warning at brcms_rfkill_set_hw_state()
>
> warning: context imbalance in brcms_rfkill_set_hw_state()
> - unexpected unlock
> The root cause is the missing annotation at brcms_rfkill_set_hw_state()
> Add the missing __must_hold(&wl->lock) annotation
>
> Signed-off-by: Jules Irenge <[email protected]>

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

2fe5efb8a475 brcmsmac: Add missing annotation for brcms_rfkill_set_hw_state()

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

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