Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp181906imm; Tue, 7 Aug 2018 16:34:07 -0700 (PDT) X-Google-Smtp-Source: AA+uWPyP3F0463D3KMflssjjI2JpKXDnxyQCc4jckH99wgPkaED587Y//xFoiTdkRP1KQLN7g+af X-Received: by 2002:a65:5581:: with SMTP id j1-v6mr337675pgs.203.1533684847842; Tue, 07 Aug 2018 16:34:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533684847; cv=none; d=google.com; s=arc-20160816; b=takeOdqzLEvJl9e1mM1F9+jD2xDwbuCYWTcwDlIb7p53alhqMyb3nXBfLJ+83LFHcg q3nUMrF8MXVXaq4CMpuG3u3LjZtkB8LYfxJKAemdcj43D9DCp3o1/SGAYBSBYpzU6Gve CchS0y7hylq0Huaqa8nBYWYMS/djq8Oi58cuNPV1FQysxDLNHYUg06CEP2FVMBo2Kdtp 8mE6Or9k+bIKNCKI4QUWCIj+6+lWY3SMDRRxqXqT2biferJAey4a0iqFGpw3fGDmcoKS kv+ObHLh0hS1/1F624qFrTpckCXXr0CcyssbN/Lz7RfopRmil+fQseY3wjE/zC5BfrXe UxTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=3sPPXqTFvdIyxKgJNyNzryt5aoaPa3paXbsF18siSPQ=; b=uxI+yFulMcBTrhQNq1KWQ5Iue+e1dfzqCGTPtOGrh0e4u8W16U6VrQRzdb5ebdkpPd d3q5LAVpDrzUbm7ksncqEtH7+U5yU9sfjjqD43ljsfga8cqNDFlDzKV232dY8q678v3C nGlBeJ7mULfFhoxeUYaX44AZIWZIkBnsqlFPZDCg4O1AowoRgB8VTqAhL7+zyBsXbkVE c/f9I4rVyZRLWNr7pRj/Hjq2E67RscwqgRJYrolqqg6k1DfsfpKOlQ8839JU0g/AjDZg 3fPDuG48DjvHXosviyb62z7ohQzVto17yxYGU49/7xT3Kbwp9GXPl2aEKwlRL3Vhl5lN AirQ== 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 g6-v6si1930533plp.204.2018.08.07.16.33.53; Tue, 07 Aug 2018 16:34:07 -0700 (PDT) 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 S1727156AbeHHBsf (ORCPT + 99 others); Tue, 7 Aug 2018 21:48:35 -0400 Received: from gateway24.websitewelcome.com ([192.185.50.91]:20007 "EHLO gateway24.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725958AbeHHBse (ORCPT ); Tue, 7 Aug 2018 21:48:34 -0400 Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway24.websitewelcome.com (Postfix) with ESMTP id 3B76874BBA for ; Tue, 7 Aug 2018 18:31:48 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id nBS7f7s4ZbXuJnBS7fWtXz; Tue, 07 Aug 2018 18:31:47 -0500 X-Authority-Reason: nr=8 Received: from [189.250.73.102] (port=48156 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1fnBS6-001zs0-SK; Tue, 07 Aug 2018 18:31:46 -0500 Date: Tue, 7 Aug 2018 18:31:46 -0500 From: "Gustavo A. R. Silva" To: "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Cc: Samuel Chessman Subject: [PATCH 32/33] net: tlan: Mark expected switch fall-through Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) 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.73.102 X-Source-L: No X-Exim-ID: 1fnBS6-001zs0-SK X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.73.102]:48156 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 202 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. Addresses-Coverity-ID: 141440 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/ti/tlan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/ti/tlan.c b/drivers/net/ethernet/ti/tlan.c index c769cd9..93d1428 100644 --- a/drivers/net/ethernet/ti/tlan.c +++ b/drivers/net/ethernet/ti/tlan.c @@ -966,6 +966,7 @@ static int tlan_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) switch (cmd) { case SIOCGMIIPHY: /* get address of MII PHY in use. */ data->phy_id = phy; + /* fall through */ case SIOCGMIIREG: /* read MII PHY register. */ -- 2.7.4