1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/scsi/aic7xxx
Gustavo A. R. Silva 995ae10f80 scsi: aic7xxx: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding multiple break statements instead of just
letting the code fall through to the next case, and by adding fallthrough
statements in places where the code is intended to fall through, and
finally by replacing /* FALLTHROUGH */ comments with the new pseudo-keyword
macro fallthrough.

Link: https://github.com/KSPP/linux/issues/115
Link: https://lore.kernel.org/r/1a7cd2f77623e6ab46bbec0b6103b18491419206.1605896059.git.gustavoars@kernel.org
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-12-02 12:59:46 -05:00
..
aicasm scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
aic7xxx.h scsi: aic7xxx: Use generic power management 2020-11-25 23:14:30 -05:00
aic7xxx.reg scsi: aic7xxx: Spelling s/configuraion/configuration/ 2019-06-18 19:46:25 -04:00
aic7xxx.seq Fix common misspellings 2011-03-31 11:26:23 -03:00
aic7xxx_93cx6.c scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
aic7xxx_93cx6.h
aic7xxx_core.c scsi: aic7xxx: Fix fall-through warnings for Clang 2020-12-02 12:59:46 -05:00
aic7xxx_inline.h [SCSI] replace __inline with inline 2009-04-03 10:23:16 -05:00
aic7xxx_osm.c scsi: aic7xxx: Fix error code handling 2020-08-24 23:13:27 -04:00
aic7xxx_osm.h scsi: aic7xxx: remove empty function 2017-08-07 21:42:07 -04:00
aic7xxx_osm_pci.c scsi: aic7xxx: Use generic power management 2020-11-25 23:14:30 -05:00
aic7xxx_pci.c scsi: aic7xxx: Use generic power management 2020-11-25 23:14:30 -05:00
aic7xxx_pci.h
aic7xxx_proc.c scsi: print single-character strings with seq_putc 2015-02-02 09:57:46 -08:00
aic7xxx_reg.h_shipped scsi: aic7xxx: regenerate firmware files 2017-08-10 19:36:51 -04:00
aic7xxx_reg_print.c_shipped
aic7xxx_seq.h_shipped scsi: aic7xxx: aic79xx: remove VLAs 2018-03-15 00:34:26 -04:00
aic79xx.h scsi: aic79xx: Use generic power management 2020-11-25 23:14:30 -05:00
aic79xx.reg Fix common misspellings 2011-03-31 11:26:23 -03:00
aic79xx.seq Fix common misspellings 2011-03-31 11:26:23 -03:00
aic79xx_core.c scsi: aic7xxx: Fix fall-through warnings for Clang 2020-12-02 12:59:46 -05:00
aic79xx_inline.h [SCSI] replace __inline with inline 2009-04-03 10:23:16 -05:00
aic79xx_osm.c scsi: aic7xxx: aic79xx_osm: Remove unused variable 'saved_scsiid' 2020-11-10 22:27:45 -05:00
aic79xx_osm.h scsi: aic7xxx: Convert timers to use timer_setup() 2017-11-01 11:27:04 -07:00
aic79xx_osm_pci.c scsi: aic79xx: Use generic power management 2020-11-25 23:14:30 -05:00
aic79xx_pci.c scsi: aic79xx: Use generic power management 2020-11-25 23:14:30 -05:00
aic79xx_pci.h
aic79xx_proc.c scsi: print single-character strings with seq_putc 2015-02-02 09:57:46 -08:00
aic79xx_reg.h_shipped scsi: aic7xxx: regenerate firmware files 2017-08-10 19:36:51 -04:00
aic79xx_reg_print.c_shipped scsi: aic7xxx: regenerate firmware files 2017-08-10 19:36:51 -04:00
aic79xx_seq.h_shipped scsi: aic7xxx: aic79xx: remove VLAs 2018-03-15 00:34:26 -04:00
aic7770.c scsi: aic7xxx: Fix build using bare-metal toolchain 2018-08-30 07:41:09 -04:00
aic7770_osm.c scsi: aic7xxx: fix EISA support 2019-04-18 20:43:10 -04:00
aiclib.h [SCSI] replace __inline with inline 2009-04-03 10:23:16 -05:00
cam.h
Kconfig.aic7xxx treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Kconfig.aic79xx treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile scsi: remove unneeded header search paths 2019-01-29 01:22:21 -05:00
queue.h aic7xxx: Avoid name collision with <linux/list.h> 2016-01-05 22:10:35 +01:00
scsi_iu.h
scsi_message.h