diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2020-04-12 22:21:43 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2020-04-17 15:50:08 +0200 |
commit | 1c49f35e9e9156273124a0cfd38b57f7a7d4828f (patch) | |
tree | a1c689b09724d3fd506b78ab0630598fae3a42fa /drivers/hid/hid-waltop.c | |
parent | video: fbdev: imxfb: ensure balanced regulator usage (diff) | |
download | linux-1c49f35e9e9156273124a0cfd38b57f7a7d4828f.tar.xz linux-1c49f35e9e9156273124a0cfd38b57f7a7d4828f.zip |
video: vt8500lcdfb: fix fallthrough warning
Fix following warning:
vt8500lcdfb.c: In function 'vt8500lcd_blank':
vt8500lcdfb.c:229:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
if (info->fix.visual == FB_VISUAL_PSEUDOCOLOR ||
^
vt8500lcdfb.c:233:2: note: here
case FB_BLANK_UNBLANK:
^~~~
Adding a simple "fallthrough;" fixed the warning.
The fix was build tested.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reported-by: kbuild test robot <lkp@intel.com>
Fixes: e41f1a989408 ("fbdev: Implement simple blanking in pseudocolor modes for vt8500lcdfb")
Cc: Alexey Charkov <alchark@gmail.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: <stable@vger.kernel.org> # v2.6.38+
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200412202143.GA26948@ravnborg.org
Diffstat (limited to 'drivers/hid/hid-waltop.c')
0 files changed, 0 insertions, 0 deletions