Re: [PATCH 5/9] brcmsmac: Add missing annotation for brcms_down()

From: Kalle Valo
Date: Wed Apr 15 2020 - 04:45:42 EST


Jules Irenge <jbi.octave@xxxxxxxxx> wrote:

> Sparse reports a warning at brcms_down()
>
> warning: context imbalance in brcms_down()
> - unexpected unlock
> The root cause is the missing annotation at brcms_down()
> Add the missing __must_hold(&wl->lock) annotation
>
> Signed-off-by: Jules Irenge <jbi.octave@xxxxxxxxx>

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

40fb232c02d1 brcmsmac: Add missing annotation for brcms_down()

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

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