diff options
| author | Randy Dunlap <[email protected]> | 2020-03-14 21:09:57 -0700 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2020-03-20 14:29:07 +0100 |
| commit | b5445b244114bf55efa325ea07f417bc5915bc74 (patch) | |
| tree | 69528258f3ec00dc1450c30f2b6960821fcfb827 /tools | |
| 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 <[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 'tools')
0 files changed, 0 insertions, 0 deletions