diff options
author | Helge Deller <deller@gmx.de> | 2019-08-03 15:34:43 -0400 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-08-07 21:53:23 -0400 |
commit | 69a76d08f2e41fa7f27bd6c4c0dce92cce01744a (patch) | |
tree | 3407fedaa1b451fd355a33cca47f65835c0cc9f1 /drivers/scsi/ncr53c8xx.c | |
parent | 7d8948627a7cd84c45069276e5fcddf6ab074baa (diff) |
scsi: ncr53c8xx: Mark expected switch fall-through
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ncr53c8xx.c')
-rw-r--r-- | drivers/scsi/ncr53c8xx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/ncr53c8xx.c b/drivers/scsi/ncr53c8xx.c index e6a95498ac0d..e0b427fdf818 100644 --- a/drivers/scsi/ncr53c8xx.c +++ b/drivers/scsi/ncr53c8xx.c | |||
@@ -3910,11 +3910,14 @@ static void __init ncr_prepare_setting(struct ncb *np) | |||
3910 | np->scsi_mode = SMODE_HVD; | 3910 | np->scsi_mode = SMODE_HVD; |
3911 | break; | 3911 | break; |
3912 | } | 3912 | } |
3913 | /* fall through */ | ||
3913 | case 3: /* SYMBIOS controllers report HVD through GPIO3 */ | 3914 | case 3: /* SYMBIOS controllers report HVD through GPIO3 */ |
3914 | if (INB(nc_gpreg) & 0x08) | 3915 | if (INB(nc_gpreg) & 0x08) |
3915 | break; | 3916 | break; |
3917 | /* fall through */ | ||
3916 | case 2: /* Set HVD unconditionally */ | 3918 | case 2: /* Set HVD unconditionally */ |
3917 | np->scsi_mode = SMODE_HVD; | 3919 | np->scsi_mode = SMODE_HVD; |
3920 | /* fall through */ | ||
3918 | case 1: /* Trust previous settings for HVD */ | 3921 | case 1: /* Trust previous settings for HVD */ |
3919 | if (np->sv_stest2 & 0x20) | 3922 | if (np->sv_stest2 & 0x20) |
3920 | np->scsi_mode = SMODE_HVD; | 3923 | np->scsi_mode = SMODE_HVD; |
@@ -6714,6 +6717,7 @@ void ncr_int_sir (struct ncb *np) | |||
6714 | OUTL_DSP (scr_to_cpu(tp->lp[0]->jump_ccb[0])); | 6717 | OUTL_DSP (scr_to_cpu(tp->lp[0]->jump_ccb[0])); |
6715 | return; | 6718 | return; |
6716 | } | 6719 | } |
6720 | /* fall through */ | ||
6717 | case SIR_RESEL_BAD_TARGET: /* Will send a TARGET RESET message */ | 6721 | case SIR_RESEL_BAD_TARGET: /* Will send a TARGET RESET message */ |
6718 | case SIR_RESEL_BAD_LUN: /* Will send a TARGET RESET message */ | 6722 | case SIR_RESEL_BAD_LUN: /* Will send a TARGET RESET message */ |
6719 | case SIR_RESEL_BAD_I_T_L_Q: /* Will send an ABORT TAG message */ | 6723 | case SIR_RESEL_BAD_I_T_L_Q: /* Will send an ABORT TAG message */ |