Commit 30b5ae21 authored by Miaohe Lin's avatar Miaohe Lin Committed by Steve French

cifs: Convert to use the fallthrough macro

Convert the uses of fallthrough comments to fallthrough macro.
Signed-off-by: default avatarHongxiang Lou <louhongxiang@huawei.com>
Signed-off-by: default avatarMiaohe Lin <linmiaohe@huawei.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 20b135e4
...@@ -3913,7 +3913,7 @@ smb2_readv_callback(struct mid_q_entry *mid) ...@@ -3913,7 +3913,7 @@ smb2_readv_callback(struct mid_q_entry *mid)
case MID_RESPONSE_MALFORMED: case MID_RESPONSE_MALFORMED:
credits.value = le16_to_cpu(shdr->CreditRequest); credits.value = le16_to_cpu(shdr->CreditRequest);
credits.instance = server->reconnect_instance; credits.instance = server->reconnect_instance;
/* fall through */ fallthrough;
default: default:
rdata->result = -EIO; rdata->result = -EIO;
} }
...@@ -4146,7 +4146,7 @@ smb2_writev_callback(struct mid_q_entry *mid) ...@@ -4146,7 +4146,7 @@ smb2_writev_callback(struct mid_q_entry *mid)
case MID_RESPONSE_MALFORMED: case MID_RESPONSE_MALFORMED:
credits.value = le16_to_cpu(rsp->sync_hdr.CreditRequest); credits.value = le16_to_cpu(rsp->sync_hdr.CreditRequest);
credits.instance = server->reconnect_instance; credits.instance = server->reconnect_instance;
/* fall through */ fallthrough;
default: default:
wdata->result = -EIO; wdata->result = -EIO;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment