mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 15:04:27 +08:00
6ea16a0ba3
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 <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-4-rdunlap@infradead.org |
||
---|---|---|
.. | ||
g450_pll.c | ||
g450_pll.h | ||
i2c-matroxfb.c | ||
Makefile | ||
matroxfb_accel.c | ||
matroxfb_accel.h | ||
matroxfb_base.c | ||
matroxfb_base.h | ||
matroxfb_crtc2.c | ||
matroxfb_crtc2.h | ||
matroxfb_DAC1064.c | ||
matroxfb_DAC1064.h | ||
matroxfb_g450.c | ||
matroxfb_g450.h | ||
matroxfb_maven.c | ||
matroxfb_maven.h | ||
matroxfb_misc.c | ||
matroxfb_misc.h | ||
matroxfb_Ti3026.c | ||
matroxfb_Ti3026.h |