[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20180702182338.GA12330@embeddedor.com>
Date: Mon, 2 Jul 2018 13:23:39 -0500
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
To: "K. Y. Srinivasan" <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>
Cc: devel@...uxdriverproject.org, linux-kernel@...r.kernel.org,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>
Subject: [PATCH] Drivers: hv: hv_kvp: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
---
drivers/hv/hv_kvp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hv/hv_kvp.c b/drivers/hv/hv_kvp.c
index 5eed1e7..9b1adcb 100644
--- a/drivers/hv/hv_kvp.c
+++ b/drivers/hv/hv_kvp.c
@@ -352,6 +352,7 @@ static void process_ib_ipinfo(void *in_msg, void *out_msg, int op)
MAX_IP_ADDR_SIZE);
out->body.kvp_ip_val.dhcp_enabled = in->kvp_ip_val.dhcp_enabled;
+ /* fall through */
default:
utf16s_to_utf8s((wchar_t *)in->kvp_ip_val.adapter_id,
--
2.7.4
Powered by blists - more mailing lists