diff options
author | 2020-03-14 21:10:00 -0700 | |
---|---|---|
committer | 2020-03-20 14:29:10 +0100 | |
commit | 5194480ce6b27753de23416f58e6d1611b3f8efc (patch) | |
tree | cb2fe712ed2e7706dc09ac22b088802df34acae7 /drivers/gpu/drm/lima/lima_sched.h | |
parent | fbdev: matrox: fix -Wextra build warnings (diff) | |
download | linux-dev-5194480ce6b27753de23416f58e6d1611b3f8efc.tar.xz linux-dev-5194480ce6b27753de23416f58e6d1611b3f8efc.zip |
fbdev: savage: fix -Wextra build warning
When 'SAVAGEFB_DEBUG' is not defined, modify the DBG() macro to use the
no_printk() macro instead of using <empty>.
This fixes a build warning when -Wextra is used and provides
printk format checking:
../drivers/video/fbdev/savage/savagefb_driver.c:2411:13: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Antonino Daplas <adaplas@gmail.com>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200315041002.24473-5-rdunlap@infradead.org
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.h')
0 files changed, 0 insertions, 0 deletions