aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.h
diff options
context:
space:
mode:
authorRandy Dunlap <[email protected]>2020-03-15 04:09:59 +0000
committerBartlomiej Zolnierkiewicz <[email protected]>2020-03-20 13:29:09 +0000
commit6ea16a0ba37f3aaf71e0dbb270f60a5b08588b72 (patch)
tree3382bab13b132df40b84b0ad4fb002d3202df2b3 /drivers/gpu/drm/lima/lima_sched.h
parentfbdev: aty: fix -Wextra build warning (diff)
downloadkernel-6ea16a0ba37f3aaf71e0dbb270f60a5b08588b72.tar.gz
kernel-6ea16a0ba37f3aaf71e0dbb270f60a5b08588b72.zip
fbdev: matrox: fix -Wextra build warnings
When 'DEBUG' is not defined, modify the dprintk() macro to use the no_printk() macro instead of using <empty>. This fixes build warnings when -Wextra is used and provides printk format checking: ../drivers/video/fbdev/matrox/matroxfb_base.c:635:77: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body] ../drivers/video/fbdev/matrox/matroxfb_Ti3026.c:632:54: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body] ../drivers/video/fbdev/matrox/matroxfb_Ti3026.c:654:53: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body] Signed-off-by: Randy Dunlap <[email protected]> Cc: Antonino Daplas <[email protected]> Cc: Florian Tobias Schandinat <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.h')
0 files changed, 0 insertions, 0 deletions