]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iscsi_ibft: Fix missing break in switch statement
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 11 Feb 2019 18:43:23 +0000 (12:43 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Mar 2019 21:03:22 +0000 (14:03 -0700)
commit81f470ebe37ecb7822f99cc16e7a68477f8071f0
treef8101196a37099ff808cb0f970dcec01a8a14388
parentd89a25ffd66fbbc8bcfaa881257bab5ac485a176
iscsi_ibft: Fix missing break in switch statement

commit df997abeebadaa4824271009e2d2b526a70a11cb upstream.

Add missing break statement in order to prevent the code from falling
through to case ISCSI_BOOT_TGT_NAME, which is unnecessary.

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

Fixes: b33a84a38477 ("ibft: convert iscsi_ibft module to iscsi boot lib")
Cc: stable@vger.kernel.org
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/iscsi_ibft.c