]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
Staging: bcm: add a missing break statement
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 11 Jan 2013 06:55:18 +0000 (22:55 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jan 2013 00:44:10 +0000 (16:44 -0800)
My static checker complains that there is a missing break statement
here.  From the context, it does look like a break statement was
intended.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/nvm.c

index 428375395f8894cd2ab7bb2548716bacf8aa31b1..e6152f4df14b4beaf515907e47098740613c5c82 100644 (file)
@@ -2810,6 +2810,7 @@ int BcmGetSectionValEndOffset(struct bcm_mini_adapter *Adapter, enum bcm_flash2x
        case CONTROL_SECTION:
                /* Not Clear So Putting failure. confirm and fix it. */
                SectEndOffset = STATUS_FAILURE;
+               break;
        case ISO_IMAGE1_PART2:
                if (Adapter->psFlash2xCSInfo->OffsetISOImage1Part2End != UNINIT_PTR_IN_CS)
                        SectEndOffset = (Adapter->psFlash2xCSInfo->OffsetISOImage1Part2End);