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

From: Kalle Valo
Date: Wed Apr 15 2020 - 04:44:54 EST


Jules Irenge <jbi.octave@xxxxxxxxx> 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 <jbi.octave@xxxxxxxxx>

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