diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2020-03-14 21:09:57 -0700 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2020-03-20 14:29:07 +0100 |
commit | b5445b244114bf55efa325ea07f417bc5915bc74 (patch) | |
tree | 69528258f3ec00dc1450c30f2b6960821fcfb827 /sound/soc/samsung/s3c24xx_simtec.c | |
parent | 06b522d6de9d7b429f368210c93d5414ead3586b (diff) |
fbdev: fbmon: 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 a build warning when -Wextra is used and provides
printk format checking:
../drivers/video/fbdev/core/fbmon.c:812:47: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
../drivers/video/fbdev/core/fbmon.c:842:24: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
../drivers/video/fbdev/core/fbmon.c:847:24: warning: suggest braces around empty body in an ‘else’ 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-2-rdunlap@infradead.org
Diffstat (limited to 'sound/soc/samsung/s3c24xx_simtec.c')
0 files changed, 0 insertions, 0 deletions