Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp181624imm; Tue, 7 Aug 2018 16:33:49 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwjMtpnSR3aoLr+pygDzw5DhyLODSl8w3O5m5fGPxr68o4XyWIIbsC4LK5yPQed7XMkqta1 X-Received: by 2002:a62:5290:: with SMTP id g138-v6mr429175pfb.46.1533684829148; Tue, 07 Aug 2018 16:33:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533684829; cv=none; d=google.com; s=arc-20160816; b=U5LgMZNLDZ7jvZWEFHkW8kiMc/0Lcpk9igXMwf7yKBKCmZ+m1Si4sE9l5MS1ZDqaSf N/WHEaumlb1sHyxjFWlHzoVhtFav4RrZPjiouCz635pJD2/bN304//P1Bb4xadeYbeGE 7BzRHlic+HrcXBEfZm3UPTL9XpfRKYPYr+cCipFJTIrsDNE9rjZ09KcPsRh74IxePoZV 5kfjACBPP7npW5KO0ouUpY35RjWzDbL5Nl/RqAmMiJRaUzjVy2FIE6a80ARdYqDSB6IQ kT0XIGagulZPJPgpgFa+6/lopKMNtuApoGwR9ZgfOGwWmLIOINZkN2YYdLOpTua083To H5rw== 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:to :from:date:arc-authentication-results; bh=j7JgVTZKjaHPKKwxRcrm87VgHDouQrCS5ydpxtpIAyU=; b=ySjzdBJINng1rd3RJuuaHg7A0FxK9TfflsX7wJZrYkrNvX7gLmu86im8xCP0I/w9Ce 4IStB9uCe1mL5erVkbTwr5P1/X9p5EugdicZwPwopDwfIBew96X2ZsqZsqD2o+cXu1U1 vhR5sy3llZCue2Se4K+rweKqFN3o9J+FvueNEIFjgCXnHs1J8lNV9ZKFJNxxUmB22tm7 G1QU+0/HGs0BYaKOuanjKIE9tDOPHP1LnxB2cM5NIU7JbYlNTJpwY3PaVofwX2Wqs6oi jI6I0kedH6K3OEGc1jqCNXxCioJnX5nvo0rowVeX4Y2sESisslQCqjjPurJ5/iN0DWwQ vhCA== 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 z8-v6si2757629pgr.260.2018.08.07.16.33.34; Tue, 07 Aug 2018 16:33: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 S1727232AbeHHBtI (ORCPT + 99 others); Tue, 7 Aug 2018 21:49:08 -0400 Received: from gateway23.websitewelcome.com ([192.185.50.129]:19418 "EHLO gateway23.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726111AbeHHBtI (ORCPT ); Tue, 7 Aug 2018 21:49:08 -0400 Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway23.websitewelcome.com (Postfix) with ESMTP id 64A56547C6 for ; Tue, 7 Aug 2018 18:32:21 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id nBSef7tlSbXuJnBSefWvEs; Tue, 07 Aug 2018 18:32:21 -0500 X-Authority-Reason: nr=8 Received: from [189.250.73.102] (port=48160 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1fnBSd-0020BS-VI; Tue, 07 Aug 2018 18:32:20 -0500 Date: Tue, 7 Aug 2018 18:32:19 -0500 From: "Gustavo A. R. Silva" To: "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH 33/33] net: ethernet: ti: cpts: 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: 1fnBSd-0020BS-VI X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.73.102]:48160 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 206 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: 114813 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/ti/cpts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/ti/cpts.c b/drivers/net/ethernet/ti/cpts.c index b4ea58d..b96b93c 100644 --- a/drivers/net/ethernet/ti/cpts.c +++ b/drivers/net/ethernet/ti/cpts.c @@ -161,6 +161,7 @@ static int cpts_fifo_read(struct cpts *cpts, int match) */ break; } + /* fall through */ case CPTS_EV_PUSH: case CPTS_EV_RX: list_del_init(&event->list); -- 2.7.4