scsi: ncr53c8xx: Mark expected switch fall-through
authorHelge Deller <deller@gmx.de>
Sat, 3 Aug 2019 19:34:43 +0000 (21:34 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 8 Aug 2019 01:53:23 +0000 (21:53 -0400)
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ncr53c8xx.c

index e6a95498ac0dad4394800d92dccd590096788628..e0b427fdf81800c39aaf352b6847d715132299b9 100644 (file)
@@ -3910,11 +3910,14 @@ static void __init ncr_prepare_setting(struct ncb *np)
                                        np->scsi_mode = SMODE_HVD;
                                break;
                        }
+                       /* fall through */
                case 3: /* SYMBIOS controllers report HVD through GPIO3 */
                        if (INB(nc_gpreg) & 0x08)
                                break;
+                       /* fall through */
                case 2: /* Set HVD unconditionally */
                        np->scsi_mode = SMODE_HVD;
+                       /* fall through */
                case 1: /* Trust previous settings for HVD */
                        if (np->sv_stest2 & 0x20)
                                np->scsi_mode = SMODE_HVD;
@@ -6714,6 +6717,7 @@ void ncr_int_sir (struct ncb *np)
                        OUTL_DSP (scr_to_cpu(tp->lp[0]->jump_ccb[0]));
                        return;
                }
+               /* fall through */
        case SIR_RESEL_BAD_TARGET:      /* Will send a TARGET RESET message */
        case SIR_RESEL_BAD_LUN:         /* Will send a TARGET RESET message */
        case SIR_RESEL_BAD_I_T_L_Q:     /* Will send an ABORT TAG message   */