mirror of https://github.com/ipxe/ipxe.git
[iscsi] Add missing "break" statements
iscsi_tx_done() is missing "break" statements at the end of each case. (Fortunately, this happens not to cause a bug in practice, since iscsi_login_request_done() is effectively a no-op when completing a data-out PDU.) Reported-by: Wissam Shoukair <wissams@mellanox.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/39/head
parent
2bcf13f13a
commit
76338543f9
|
@ -1439,8 +1439,10 @@ static void iscsi_tx_done ( struct iscsi_session *iscsi ) {
|
|||
switch ( common->opcode & ISCSI_OPCODE_MASK ) {
|
||||
case ISCSI_OPCODE_DATA_OUT:
|
||||
iscsi_data_out_done ( iscsi );
|
||||
break;
|
||||
case ISCSI_OPCODE_LOGIN_REQUEST:
|
||||
iscsi_login_request_done ( iscsi );
|
||||
break;
|
||||
default:
|
||||
/* No action */
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue