Skip to content

Commit 30b5ae2

Browse files
MiaoheLinSteve French
authored andcommitted
cifs: Convert to use the fallthrough macro
Convert the uses of fallthrough comments to fallthrough macro. Signed-off-by: Hongxiang Lou <louhongxiang@huawei.com> Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent 20b135e commit 30b5ae2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/cifs/smb2pdu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3913,7 +3913,7 @@ smb2_readv_callback(struct mid_q_entry *mid)
39133913
case MID_RESPONSE_MALFORMED:
39143914
credits.value = le16_to_cpu(shdr->CreditRequest);
39153915
credits.instance = server->reconnect_instance;
3916-
/* fall through */
3916+
fallthrough;
39173917
default:
39183918
rdata->result = -EIO;
39193919
}
@@ -4146,7 +4146,7 @@ smb2_writev_callback(struct mid_q_entry *mid)
41464146
case MID_RESPONSE_MALFORMED:
41474147
credits.value = le16_to_cpu(rsp->sync_hdr.CreditRequest);
41484148
credits.instance = server->reconnect_instance;
4149-
/* fall through */
4149+
fallthrough;
41504150
default:
41514151
wdata->result = -EIO;
41524152
break;

0 commit comments

Comments
 (0)