summaryrefslogtreecommitdiff
path: root/drivers/message
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2021-03-22 11:25:43 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2021-04-01 22:55:25 -0400
commit6c26379def094f9f5ae35caf90a58dc1a6bf80e1 (patch)
tree803ba219ea198a08b44f28bd0c8133b37de63cd1 /drivers/message
parente27f3c88e2500556b2f1f0ed134a2a4834f88ba3 (diff)
downloadlinux-6c26379def094f9f5ae35caf90a58dc1a6bf80e1.tar.gz
scsi: aic94xx: Avoid -Wempty-body warning
Building with 'make W=1' shows a harmless -Wempty-body warning: drivers/scsi/aic94xx/aic94xx_init.c: In function 'asd_free_queues': drivers/scsi/aic94xx/aic94xx_init.c:858:62: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] 858 | ASD_DPRINTK("Uh-oh! Pending is not empty!\n"); Change the empty ASD_DPRINTK() macro to no_printk(), which avoids this warning and adds format string checking. Link: https://lore.kernel.org/r/20210322102549.278661-1-arnd@kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions