diff options
author | Jules Irenge <jbi.octave@gmail.com> | 2020-04-11 01:19:28 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-04-15 11:43:40 +0300 |
commit | 2fe5efb8a475c856cd72a37fd73d82f5b5b563e0 (patch) | |
tree | ff378c1ba16f3c1a0aff16a2cd48206f71a5e3a8 /drivers/bluetooth/hci_bcm.c | |
parent | 1c0e3c73e98dd55bc9551279fed6233997425c23 (diff) |
brcmsmac: Add missing annotation for brcms_rfkill_set_hw_state()
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@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200411001933.10072-5-jbi.octave@gmail.com
Diffstat (limited to 'drivers/bluetooth/hci_bcm.c')
0 files changed, 0 insertions, 0 deletions