aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/vgaarb.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-03-22 11:52:59 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2021-03-22 15:02:14 +0100
commit84c41184cfa35232d7abbf087915fcbcb86e6a17 (patch)
tree1b372b450e346dfee89560dc6648cfab9bba24e6 /include/linux/vgaarb.h
parentdrm/gma500: use NULL instead of using plain integer as pointer (diff)
downloadwireguard-linux-84c41184cfa35232d7abbf087915fcbcb86e6a17.tar.xz
wireguard-linux-84c41184cfa35232d7abbf087915fcbcb86e6a17.zip
fbdev: omapfb: avoid -Wempty-body warning
Building with 'make W=1' shows a few harmless warnings: drivers/video/fbdev/omap2/omapfb/omapfb-main.c: In function 'omapfb_calc_addr': drivers/video/fbdev/omap2/omapfb/omapfb-main.c:823:56: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] 823 | var->xoffset, var->yoffset, offset); | ^ drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c: In function 'omapfb_ioctl': drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c:911:45: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] 911 | DBG("ioctl failed: %d\n", r); Avoid these by using no_printk(), which adds format string checking as well. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210322105307.1291840-1-arnd@kernel.org
Diffstat (limited to 'include/linux/vgaarb.h')
0 files changed, 0 insertions, 0 deletions