linux/drivers/scsi/esas2r
Lee Jones e36e0427a4 scsi: esas2r: Add braces around the one-line if()
In certain configurations esas2r_bugon() is sometimes NULLed by the compiler.

Fixes the following W=1 kernel build warning(s):

 In file included from drivers/scsi/esas2r/esas2r_log.c:44:
 drivers/scsi/esas2r/esas2r.h: In function ‘esas2r_rq_init_request’:
 drivers/scsi/esas2r/esas2r.h:1229:17: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
 1229 | esas2r_bugon();
 | ^
 NB: Lots of these - snipped for brevity

Link: https://lore.kernel.org/r/20200723122446.1329773-33-lee.jones@linaro.org
Cc: Bradley Grove <linuxdrivers@attotech.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-07-24 22:32:52 -04:00
..
atioctl.h
atvda.h
esas2r_disc.c
esas2r_flash.c scsi: esas2r: unlock on error in esas2r_nvram_read_direct() 2019-10-24 21:17:16 -04:00
esas2r_init.c scsi: esas2r: Prefer pcie_capability_read_word() 2019-08-12 22:04:06 -04:00
esas2r_int.c
esas2r_io.c
esas2r_ioctl.c esas2r: don't bother with __copy_to_user() 2020-04-23 13:55:06 -04:00
esas2r_log.c scsi: esas2r: Remove redundant NULL check on buffer 2017-03-16 19:49:45 -04:00
esas2r_log.h scsi: esas2r: Fix format string type mistakes 2017-01-09 23:52:26 -05:00
esas2r_main.c proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
esas2r_targdb.c
esas2r_vda.c [SCSI] esas2r: Cleanup snprinf formatting of firmware version 2013-10-25 09:58:59 +01:00
esas2r.h scsi: esas2r: Add braces around the one-line if() 2020-07-24 22:32:52 -04:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00