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