linux/drivers/scsi/bfa
Gustavo A. R. Silva 4c7bd259d6 scsi: bfa: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding a couple break statements and replacing /*
fall through */ comments with the new pseudo-keyword macro fallthrough;
instead of just letting the code fall through to the next case.

Notice that Clang doesn't recognize /* fall through */ comments as implicit
fall-through markings.

Link: https://github.com/KSPP/linux/issues/115
Link: https://lore.kernel.org/r/2ae1cafd858238b85fc5e7fe5cc183843e21ec9f.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
..
bfa_core.c scsi: bfa: Demote seemingly unintentional kerneldoc header 2020-07-24 22:33:04 -04:00
bfa_cs.h
bfa_defs_fcs.h
bfa_defs_svc.h
bfa_defs.h
bfa_fc.h
bfa_fcbuild.c
bfa_fcbuild.h
bfa_fcpim.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
bfa_fcpim.h
bfa_fcs_fcpim.c
bfa_fcs_lport.c scsi: bfa: Fix fall-through warnings for Clang 2020-12-02 12:59:46 -05:00
bfa_fcs_rport.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
bfa_fcs.c
bfa_fcs.h
bfa_hw_cb.c
bfa_hw_ct.c
bfa_ioc_cb.c
bfa_ioc_ct.c scsi: bfa: Demote non-compliant kerneldoc headers to standard comments 2020-07-24 22:32:07 -04:00
bfa_ioc.c scsi: bfa: Fix fall-through warnings for Clang 2020-12-02 12:59:46 -05:00
bfa_ioc.h
bfa_modules.h
bfa_plog.h
bfa_port.c scsi: bfa: Staticify local functions 2020-07-24 22:31:56 -04:00
bfa_port.h
bfa_svc.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
bfa_svc.h
bfa.h
bfad_attr.c scsi: bfa: bfad_attr.c: make two funcitons static 2020-04-14 21:34:52 -04:00
bfad_bsg.c scsi: bfa: Staticify all local functions 2020-07-24 22:10:02 -04:00
bfad_bsg.h
bfad_debugfs.c
bfad_drv.h
bfad_im.c
bfad_im.h
bfad.c scsi: bfa: Fix error return in bfad_pci_init() 2020-10-07 23:50:04 -04:00
bfi_ms.h
bfi_reg.h
bfi.h
Makefile