linux-stable/drivers/scsi/aic94xx
Arnd Bergmann 6c26379def 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>
2021-04-01 22:55:25 -04:00
..
aic94xx.h scsi: aic94xx: Avoid -Wempty-body warning 2021-04-01 22:55:25 -04:00
aic94xx_dev.c scsi: aic94xx: Fix a couple of kerneldoc formatting issues 2020-07-24 22:09:58 -04:00
aic94xx_dump.c scsi: aic94xx: Correct misspelling of function asd_dump_seq_state() 2021-03-18 23:35:54 -04:00
aic94xx_dump.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_hwi.c scsi: aic94xx: Fix a couple of misnamed function names 2021-03-15 22:14:50 -04:00
aic94xx_hwi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_init.c SCSI misc on 20200806 2020-08-06 16:50:07 -07:00
aic94xx_reg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_reg_def.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_sas.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_scb.c scsi: aic94xx: Switch back to original libsas event notifiers 2021-01-22 21:31:09 -05:00
aic94xx_sds.c scsi: aic94xx: Fix asd_erase_nv_sector()'s header 2021-03-15 22:14:51 -04:00
aic94xx_sds.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_seq.c scsi: aic94xx: Document 'lseq' and repair asd_update_port_links() header 2020-07-15 17:25:12 -04:00
aic94xx_seq.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00
aic94xx_task.c scsi: aic94xx: Fix fall-through warnings for Clang 2020-12-02 12:59:46 -05:00
aic94xx_tmf.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
Kconfig treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 457 2019-06-19 17:09:09 +02:00
Makefile treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 411 2019-06-05 17:37:14 +02:00