Received: by 10.223.164.202 with SMTP id h10csp4491107wrb; Wed, 29 Nov 2017 07:11:46 -0800 (PST) X-Google-Smtp-Source: AGs4zMaCSD5LWs5HiShrZzjtzOYU+vDifbNhltiScOgzNl/NzYkntHP+OlHN9Zle+T5Uxv3pSTtn X-Received: by 10.84.129.73 with SMTP id 67mr3227164plb.198.1511968306713; Wed, 29 Nov 2017 07:11:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511968306; cv=none; d=google.com; s=arc-20160816; b=VfDdNeZSCE1iMbfuX0e/kIxX6fyYBmAsLJjTTqa/e/pxLIxxUb6PlohLOQtkmkNGvJ ZflQHCmwJpjHRJPSrYEB1/jftoffVzaZGjyjaPXoh/bITZBZRqW4DqvZVIYeNng8NVnr O7LgmBEjefj4Gw/aEehHE9wvVG5hePcVkBAmejeSjEDGl7oSt7fUFSr9EGYjPgIKRVM9 5jF+nV5psCdB3PZ8BBUxlyekpwj4tXTHsRmD6vlrPdqIOvys7sSF/mxlVKdG8fbme77f XBMCTQn+D8X9nbd0GaV1Q1m0QfgXp2x0tM1GftcP8hLXg2mGWuPIELERANVbjKTRs6oX m6ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition:mime-version :user-agent:in-reply-to:references:subject:cc:to:from:message-id :date:arc-authentication-results; bh=Ggpd/YE2UbJQVEddX+fvw/vmOFxr5cn9UBMuZR1dBRU=; b=U2ZCTSR9RtrFFfqk4gm157fE14krXxsDMhbbVseaUnmk3PawheYCLsb7k8Rjli86ls NLLI3mBPvH1e0V5eO7j65AiswMU+w2fXKzbQ2gLewJRNe1LHLTzV6UNzUnNk4Ofg9qNP XtE2fW6uVL5o1S/xelfSqMtU8KdPNFi7pBsrtP9cT4CZ8GFPcJ4v98VgP8QCCfPvf/ca O6+5jUHya4IXLF9lGofxsh4NpchC97HkR8TmRgikjv0I1pjiPhDvowL/8Ik2qNcriBkI I6byMVjbA0VDbOb+4AnDRyOf4P1a2vN5RFtPYLq7RI8phylKKiWGkRizTYP3p54Smxy5 DvUw== 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 k1si1406897plt.338.2017.11.29.07.11.36; Wed, 29 Nov 2017 07:11:46 -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 S1753629AbdK2PKx (ORCPT + 69 others); Wed, 29 Nov 2017 10:10:53 -0500 Received: from gateway22.websitewelcome.com ([192.185.47.125]:26951 "EHLO gateway22.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751997AbdK2PKv (ORCPT ); Wed, 29 Nov 2017 10:10:51 -0500 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway22.websitewelcome.com (Postfix) with ESMTP id CE7EE6548 for ; Wed, 29 Nov 2017 09:10:50 -0600 (CST) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id K40geTgteDL8rK40geEJKz; Wed, 29 Nov 2017 09:10:50 -0600 Received: from gator4166.hostgator.com ([108.167.133.22]:49044) by gator4166.hostgator.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1eK40g-004HFm-Dh; Wed, 29 Nov 2017 09:10:50 -0600 Received: from 189.175.122.225 ([189.175.122.225]) by gator4166.hostgator.com (Horde Framework) with HTTPS; Wed, 29 Nov 2017 09:10:50 -0600 Date: Wed, 29 Nov 2017 09:10:50 -0600 Message-ID: <20171129091050.Horde.2q2U63NpkxZnJ2HEQ6hKGaB@gator4166.hostgator.com> From: "Gustavo A. R. Silva" To: Thomas Gleixner Cc: Alan Cox , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, LKML , Kees Cook Subject: Re: [PATCH] x86/syscalls: Mark expected switch fall-throughs 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> In-Reply-To: User-Agent: Horde Application Framework 5 Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes MIME-Version: 1.0 Content-Disposition: inline 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: 108.167.133.22 X-Source-L: Yes X-Exim-ID: 1eK40g-004HFm-Dh X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: gator4166.hostgator.com [108.167.133.22]:49044 X-Source-Auth: garsilva@embeddedor.com X-Email-Count: 3 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 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. :) > Awesome Thanks, Thomas. -- Gustavo A. R. Silva From 1585387939368028629@xxx Wed Nov 29 08:22:39 +0000 2017 X-GM-THRID: 1585265423856272058 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread