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

Kalle Valo
2020-04-15T08:45:44Z

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

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

40fb232c02d1 brcmsmac: Add missing annotation for brcms_down()

--