diff options
author | Jules Irenge <jbi.octave@gmail.com> | 2020-04-03 17:05:02 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2020-04-07 21:45:42 +0200 |
commit | 43ea4d090509de46e3ad7688560743dcad05d329 (patch) | |
tree | 3c01f60df43e57a54e708427c3210f6ad4b512a1 /Documentation/devicetree/bindings/serial/slave-device.txt | |
parent | 71c45008e2b0d68bbcdd658cb5ab632b2aa433f7 (diff) |
video: Add missing annotation for cyber2000fb_enable_ddc() and cyber2000fb_disable_ddc()
Sparse reports warnings at cyber2000fb_enable_ddc()
and cyber2000fb_disable_ddc()
warning: context imbalance in cyber2000fb_enable_ddc()
- wrong count at exit
warning: context imbalance in cyber2000fb_disable_ddc()
- unexpected unlock
The root cause is the missing annotation at cyber2000fb_enable_ddc()
and cyber2000fb_disable_ddc()
Add the missing __acquires(&cfb->reg_b0_lock) annotation
Add the missing __releases(&cfb->reg_b0_lock) annotation
Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200403160505.2832-3-jbi.octave@gmail.com
Diffstat (limited to 'Documentation/devicetree/bindings/serial/slave-device.txt')
0 files changed, 0 insertions, 0 deletions