diff options
| author | Randy Dunlap <[email protected]> | 2020-03-15 04:09:58 +0000 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2020-03-20 13:29:08 +0000 |
| commit | c43da06107232a10f1b14bdf3aab82089937d63f (patch) | |
| tree | 4e2c89048807432a18c8ab1c5a6abe6269865478 /drivers/gpu/drm/lima/lima_drv.c | |
| parent | fbdev: fbmon: fix -Wextra build warnings (diff) | |
| download | kernel-c43da06107232a10f1b14bdf3aab82089937d63f.tar.gz kernel-c43da06107232a10f1b14bdf3aab82089937d63f.zip | |
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 <[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 'drivers/gpu/drm/lima/lima_drv.c')
0 files changed, 0 insertions, 0 deletions
