Searched hist:c43da06107232a10f1b14bdf3aab82089937d63f (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/video/fbdev/aty/ |
H A D | atyfb_base.c | diff c43da06107232a10f1b14bdf3aab82089937d63f Sat Mar 14 23:09:58 CDT 2020 Randy Dunlap <rdunlap@infradead.org> fbdev: aty: fix -Wextra build warning
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/aty/atyfb_base.c:784:61: 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-3-rdunlap@infradead.org
|