Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp467226imu; Tue, 22 Jan 2019 23:18:43 -0800 (PST) X-Google-Smtp-Source: ALg8bN76MBltZqcRKeVoVqAwP8QzSRv37ukBGkJsGia/1lZVvOdGfaXyKS9je/DO94S3Mpq/EZl0 X-Received: by 2002:a17:902:8b88:: with SMTP id ay8mr1169454plb.55.1548227923844; Tue, 22 Jan 2019 23:18:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548227923; cv=none; d=google.com; s=arc-20160816; b=oyxizU1DfxGgnGzJoPaiuvXDqvDMCgXXqVg2VHabx3/6uJn5K4mHdfUuos+ux1Cyk1 X3CF9b85VWi+QCSZmK3sDWHxSLdXnZYmD5kClBNS609QDrEapvFwUCono7/uxJONpdCJ zffEtbTEQ5u2tYIZWKJbRbgWDbeCHu0gDTfazQYfOJ/W1umziq2MYxO64suBC5ualtR/ bCOfvnsT+/g5hNa0fYX8lJ0LkAsKEXTB4x42o0PlzSDWNof5pVTsCt16n2d1/Hqg5ffI jFK5L4x+2gwgtPrMhtoB2KXLXf6VDZ6WUYTls0lTEoCoEz2ydSzi0fEKz+n3Dl9bWMSa RWaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=CF9n2YTJhthHvi6dd/zDASQif4vk2caAYCfO/sPzu5A=; b=JVUYNVxFhlKshS27YVx1wabbvQ6cNrx0FZjjyXUpbH/x18Z/NqYreFGRRZa0PRtCqR S+HUAFnI3l/l3Va4pbsCt4siWR8MBYLSdxH9b22rkNI6lYkUKfIo+5OOQbG1kuLpF1rz fFSKkI6ux+iQwBnnXT/llp5clgIK+R+Us4gQuOGLJAMUwy+YMVGzq0Id5XlSiVElbb3L sQUE1NKdtm9yZBsdHrJ0nWNyysj/yb6L1o06kp9d3ncMoBiIJ3Pvi/1tqU4eUWmPZCej 9gtG+XBgmtfnFMDCk+7XwYkbXlX327d56WjhpHYxu8vqaFBPl/QmSJ3rFBqIOMEZ9Je3 1vZQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6si3119928pgk.201.2019.01.22.23.18.28; Tue, 22 Jan 2019 23:18:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726358AbfAWHRW (ORCPT + 99 others); Wed, 23 Jan 2019 02:17:22 -0500 Received: from gateway31.websitewelcome.com ([192.185.144.219]:26613 "EHLO gateway31.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726122AbfAWHRW (ORCPT ); Wed, 23 Jan 2019 02:17:22 -0500 Received: from cm13.websitewelcome.com (cm13.websitewelcome.com [100.42.49.6]) by gateway31.websitewelcome.com (Postfix) with ESMTP id 40C28297C3 for ; Wed, 23 Jan 2019 01:16:38 -0600 (CST) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id mCm6gwn5AYTGMmCm6gfMvf; Wed, 23 Jan 2019 01:16:38 -0600 X-Authority-Reason: nr=8 Received: from [189.250.130.205] (port=46256 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1gmCm1-0036X9-47; Wed, 23 Jan 2019 01:16:37 -0600 Date: Wed, 23 Jan 2019 01:16:32 -0600 From: "Gustavo A. R. Silva" To: Eric Van Hensbergen , Latchesar Ionkov , Dominique Martinet , "David S. Miller" Cc: v9fs-developer@lists.sourceforge.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH net-next] 9p: mark expected switch fall-through Message-ID: <20190123071632.GA8039@embeddedor> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 189.250.130.205 X-Source-L: No X-Exim-ID: 1gmCm1-0036X9-47 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.130.205]:46256 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 18 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. This patch fixes the following warning: net/9p/trans_xen.c:514:6: warning: this statement may fall through [-Wimplicit-fallthrough=] Warning level 3 was used: -Wimplicit-fallthrough=3 This patch is part of the ongoing efforts to enabling -Wimplicit-fallthrough Signed-off-by: Gustavo A. R. Silva --- net/9p/trans_xen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/9p/trans_xen.c b/net/9p/trans_xen.c index e2fbf3677b9b..29420ebb8f07 100644 --- a/net/9p/trans_xen.c +++ b/net/9p/trans_xen.c @@ -513,7 +513,7 @@ static void xen_9pfs_front_changed(struct xenbus_device *dev, case XenbusStateClosed: if (dev->state == XenbusStateClosed) break; - /* Missed the backend's CLOSING state -- fallthrough */ + /* fall through - Missed the backend's CLOSING state */ case XenbusStateClosing: xenbus_frontend_closed(dev); break; -- 2.20.1