summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-cros-ec.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javierm@redhat.com>2023-01-21 22:09:30 +0300
committerJavier Martinez Canillas <javierm@redhat.com>2023-01-24 13:02:33 +0300
commit51affef35bb39f186aef7eeeb4a7f9ceccd3e65e (patch)
treec660a0135ddede55cd2bdbef28376996203da3d5 /drivers/pwm/pwm-cros-ec.c
parent998101f2a78cf506022f2094461105cb3d00e19f (diff)
downloadlinux-51affef35bb39f186aef7eeeb4a7f9ceccd3e65e.tar.xz
drm/ssd130x: Silence a `dubious: x & !y` warning
The sparse tool complains with the following warning: $ make M=drivers/gpu/drm/solomon/ C=2 CC [M] drivers/gpu/drm/solomon/ssd130x.o CHECK drivers/gpu/drm/solomon/ssd130x.c drivers/gpu/drm/solomon/ssd130x.c:363:21: warning: dubious: x & !y This seems to be a false positive in my opinion but still we can silence the tool while making the code easier to read. Let's also add a comment, to explain why the "com_seq" logical not is used rather than its value. Reported-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20230121190930.2804224-1-javierm@redhat.com
Diffstat (limited to 'drivers/pwm/pwm-cros-ec.c')
0 files changed, 0 insertions, 0 deletions