From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757252AbdJPUPw (ORCPT ); Mon, 16 Oct 2017 16:15:52 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:34598 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753285AbdJPUPt (ORCPT ); Mon, 16 Oct 2017 16:15:49 -0400 Date: Mon, 16 Oct 2017 21:15:47 +0100 (WEST) Message-Id: <20171016.211547.1957282103530139102.davem@davemloft.net> To: garsilva@embeddedor.com Cc: gerrit@erg.abdn.ac.uk, dccp@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: dccp: mark expected switch fall-throughs From: David Miller In-Reply-To: <20171015182210.GA13849@embeddedor.com> References: <20171015182210.GA13849@embeddedor.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 16 Oct 2017 13:15:49 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Gustavo A. R. Silva" Date: Sun, 15 Oct 2017 13:22:10 -0500 > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Notice that for options.c file, I placed the "fall through" comment > on its own line, which is what GCC is expecting to find. > > Signed-off-by: Gustavo A. R. Silva Applied to net-next.