scsi: aacraid: Fix missing break in switch statement
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 15 Feb 2019 21:42:42 +0000 (15:42 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Mar 2019 21:05:01 +0000 (14:05 -0700)
commit 5e420fe635813e5746b296cfc8fff4853ae205a2 upstream.

Add missing break statement and fix identation issue.

This bug was found thanks to the ongoing efforts to enable
-Wimplicit-fallthrough.

Fixes: 9cb62fa24e0d ("aacraid: Log firmware AIF messages")
Cc: stable@vger.kernel.org
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/aacraid/commsup.c

index fe670b6..2d9696b 100644 (file)
@@ -1179,8 +1179,9 @@ static void aac_handle_aif(struct aac_dev * dev, struct fib * fibptr)
                                  ADD : DELETE;
                                break;
                        }
-                       case AifBuManagerEvent:
-                               aac_handle_aif_bu(dev, aifcmd);
+                       break;
+               case AifBuManagerEvent:
+                       aac_handle_aif_bu(dev, aifcmd);
                        break;
                }