Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp169547imm; Tue, 7 Aug 2018 16:16:49 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxfYFCnmWPRHynYEaelcKtpdzM2IOLAx7Vwhm+obKb2FFEFs0xCMuDtQSWjIpesGuwrgK3F X-Received: by 2002:a17:902:42c3:: with SMTP id h61-v6mr287977pld.319.1533683809453; Tue, 07 Aug 2018 16:16:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533683809; cv=none; d=google.com; s=arc-20160816; b=gfpU1bWT+elG5X1UbkvMYaqgXbq+57/U6BF6GryexwXgXM2C4iw47FGrOzl7jkVnFZ CzsDiiIbpA/5El3/7YQK/gyvKAcnsMTqPDes3Xr6Jfx53M89PwiXmgFTWwrXISgOiejI cBoM7Hr1t70XVva6xljJ6zSkSUbVEtDbGGf4H7WSR8+Yqn1O5A/WffoDjLayGX842htF VGO9ukxzGcjxaKIh+7GPktyBGkBS1/TiWkI8AmEuLZGU8stqp8u1q1GDNsXnpRsi/uyi +0L13j00ak1tzShfwt77UXG43kZx7TqIRf+pj4mWSbSNirIT+0ofjeFREWAD5xTxT97K A/3Q== 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=eTydwmVAintAsDFiMuNUdSR9DtXdYaVPx4lzT4dJOTo=; b=zv11ECU8wrp5DG6nszxpko3LGNASExP9wj5PDqKMhpL5qnE0pvT/XEgNH3JIZ+hRbn S/wOTqdR0igu9MXpLSySrjppMsyfSrPfAYdP+0up3HUrfW8zRWCzmm7NLP3XSIW8jwVB A0RmvbMptKOo+R5OjLoG5Ta9s4UKSZS0g6OvkQk8DzIf5QLiORImx58rciTsRSev3T0F aTDwI6Epnc/qhbNb5pya/rEjOAoHsPCR8KdJKhzc03nU3olqn8QFG+B1WuXBuvWm9jJf KSUl/jQE/ZzcZ4n8z0eIUQ7YWXQaSS/e4oZvKTwHRMHhXgn4NwKjBieFMXUY8Vn7IsUV EJCg== 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 o12-v6si2824372pfd.142.2018.08.07.16.16.35; Tue, 07 Aug 2018 16:16:49 -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 S1727242AbeHHBc0 (ORCPT + 99 others); Tue, 7 Aug 2018 21:32:26 -0400 Received: from gateway31.websitewelcome.com ([192.185.143.4]:31039 "EHLO gateway31.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727131AbeHHBcY (ORCPT ); Tue, 7 Aug 2018 21:32:24 -0400 Received: from cm10.websitewelcome.com (cm10.websitewelcome.com [100.42.49.4]) by gateway31.websitewelcome.com (Postfix) with ESMTP id 248A72FA5C for ; Tue, 7 Aug 2018 18:15:43 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id nBCSfj5qiBcCXnBCVfJ7tI; Tue, 07 Aug 2018 18:15:42 -0500 X-Authority-Reason: nr=8 Received: from [189.250.73.102] (port=48062 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1fnBCS-001rrg-27; Tue, 07 Aug 2018 18:15:36 -0500 Date: Tue, 7 Aug 2018 18:15:35 -0500 From: "Gustavo A. R. Silva" To: "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Cc: linux-parisc@vger.kernel.org Subject: [PATCH 10/33] net: tulip_core: 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: 1fnBCS-001rrg-27 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.73.102]:48062 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 87 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: 114782 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/dec/tulip/tulip_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/dec/tulip/tulip_core.c b/drivers/net/ethernet/dec/tulip/tulip_core.c index 00d02a0..3e3e086 100644 --- a/drivers/net/ethernet/dec/tulip/tulip_core.c +++ b/drivers/net/ethernet/dec/tulip/tulip_core.c @@ -923,6 +923,7 @@ static int private_ioctl (struct net_device *dev, struct ifreq *rq, int cmd) data->phy_id = 1; else return -ENODEV; + /* Fall through */ case SIOCGMIIREG: /* Read MII PHY register. */ if (data->phy_id == 32 && (tp->flags & HAS_NWAY)) { -- 2.7.4