Received: by 10.223.164.202 with SMTP id h10csp4496348wrb; Wed, 29 Nov 2017 07:15:54 -0800 (PST) X-Google-Smtp-Source: AGs4zMYnjFKqthrRPk0/1ThzKiFPdka1taZvX7GFPwN4eqq2PPt6eeQ5mX6U3Icql5UkafuhwmlP X-Received: by 10.101.67.71 with SMTP id k7mr3085785pgq.20.1511968553929; Wed, 29 Nov 2017 07:15:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511968553; cv=none; d=google.com; s=arc-20160816; b=bG9ouqZ5aHj1KISNUnpS52cPfjmy00m303x2MN2NhGUjamBSjgpeg6pphFuf4iheMb WzUdkWN6i/7HHxLR4q8ER3IJDe6dFI5kg6lQlPm6IorGwmawSz6KjAm9mM/Imn5LWTsS jHCnE5vsZZzH3c6p0P0Jtz0SoiN754Xm5VolDc8hw7qye2AWsWf7j03H2dySANwxpKUs 1PvdyO//M78HYI1sxVUF4MvmrFw8bLtKS+0k2vu4RtfKNBi29VezrVgWMCxMg3B5xp1p pAlzy6my8E6LcH+afT1Zki0ZhVBdoy3mb6LZqDAdy1099kJRr32dMflGE763JgQaJAhT 4/Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=J7N6adFuSKoiNaj+fq6QKaAVt6wN5fPH41B74J4kxDQ=; b=aoubspMOYxKH5v4O7N1crWtExF2LxdtwRfmssvzyfE024alRJIirBV5HNN/5iMA86h uEXAXCJMJkKCd5X9RRvOtd11uIYWQAyKGZdsZNLHqkUTTpL7y5Ss2tcOrSYXNoWV8HH9 XObK4D8gqIkKNIPWtxbVgjOD7yLsN/DFBLkbabeKRKtVhfhBCSYud8ySzq+4FeITNlBk 4vx92Bj4bcsE9S7jn7UBtwIS/WI/tSnkMqrPORt9y1N7Upinmeacjlb3WK2Y/qCY8Txk MOLeS/vvXF5bROLv8KHyK7V2CQMH0zEo20r0MkIy2Upr0nnlvSAS4AO8NN2Z9/xF/rO8 0GNQ== 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 s59si1431762plb.276.2017.11.29.07.15.43; Wed, 29 Nov 2017 07:15:53 -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 S1753806AbdK2POa (ORCPT + 69 others); Wed, 29 Nov 2017 10:14:30 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:39525 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751929AbdK2PO3 (ORCPT ); Wed, 29 Nov 2017 10:14:29 -0500 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1eK42p-0003gO-O3; Wed, 29 Nov 2017 16:13:03 +0100 Date: Wed, 29 Nov 2017 16:14:12 +0100 (CET) From: Thomas Gleixner To: "Gustavo A. R. Silva" cc: Alan Cox , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, LKML , Kees Cook Subject: Re: [PATCH] x86/syscalls: Mark expected switch fall-throughs In-Reply-To: <20171129091050.Horde.2q2U63NpkxZnJ2HEQ6hKGaB@gator4166.hostgator.com> Message-ID: References: <20171127235253.GA20384@embeddedor.com> <20171128120512.Horde.1mz61Up1PsNtyHbrjWmK8L7@gator4166.hostgator.com> <20171128122235.Horde.vFP-9ZfAP0f9BFNePB8Z8xi@gator4166.hostgator.com> <20171128190032.2b1fa464@alans-desktop> <20171128142532.Horde.i2oBtHDOaD7XV1M3yAL7rga@gator4166.hostgator.com> <20171129091050.Horde.2q2U63NpkxZnJ2HEQ6hKGaB@gator4166.hostgator.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 29 Nov 2017, Gustavo A. R. Silva wrote: > Quoting Thomas Gleixner : > > > > > So I have to ask WHY this information was not in the changelog of the patch > > in question: > > > > 1) How it works > > > > 2) Why comments have been chosen over macros > > > > I will add this info and send the patch again. > > > > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > > > where we are expecting to fall through. > > > > It's not a reviewers job to chase that information down. > > > > While I can understand that the comments are intentional due to existing > > tools, I still prefer the macro/annotation. But I'm not religious about it > > when there is common consensus. :) ^^^^^^^^^^^^^^^^ This is the important point. And there are people aside of me who prefer the macro annotation. Thanks, tglx From 1585413678863127095@xxx Wed Nov 29 15:11:46 +0000 2017 X-GM-THRID: 1585265423856272058 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread