diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-01-11 06:55:18 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-12 00:44:10 (GMT) |
commit | ccbdccd4a7981c150a882123a577c11b2e808051 (patch) | |
tree | aa0aedcf5aae5c72c83abd012c5938317b215b7b /drivers/staging/bcm/nvm.c | |
parent | 7936095f945f62faf0da510f8305b6536b8f2c1b (diff) | |
download | linux-fsl-qoriq-ccbdccd4a7981c150a882123a577c11b2e808051.tar.xz |
Staging: bcm: add a missing break statement
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>
Diffstat (limited to 'drivers/staging/bcm/nvm.c')
-rw-r--r-- | drivers/staging/bcm/nvm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/bcm/nvm.c b/drivers/staging/bcm/nvm.c index 4283753..e6152f4 100644 --- a/drivers/staging/bcm/nvm.c +++ b/drivers/staging/bcm/nvm.c @@ -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); |