提交 ccbdccd4 编写于 作者: D Dan Carpenter 提交者: Greg Kroah-Hartman

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: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 7936095f
...@@ -2810,6 +2810,7 @@ int BcmGetSectionValEndOffset(struct bcm_mini_adapter *Adapter, enum bcm_flash2x ...@@ -2810,6 +2810,7 @@ int BcmGetSectionValEndOffset(struct bcm_mini_adapter *Adapter, enum bcm_flash2x
case CONTROL_SECTION: case CONTROL_SECTION:
/* Not Clear So Putting failure. confirm and fix it. */ /* Not Clear So Putting failure. confirm and fix it. */
SectEndOffset = STATUS_FAILURE; SectEndOffset = STATUS_FAILURE;
break;
case ISO_IMAGE1_PART2: case ISO_IMAGE1_PART2:
if (Adapter->psFlash2xCSInfo->OffsetISOImage1Part2End != UNINIT_PTR_IN_CS) if (Adapter->psFlash2xCSInfo->OffsetISOImage1Part2End != UNINIT_PTR_IN_CS)
SectEndOffset = (Adapter->psFlash2xCSInfo->OffsetISOImage1Part2End); SectEndOffset = (Adapter->psFlash2xCSInfo->OffsetISOImage1Part2End);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册