Received: by 10.223.164.202 with SMTP id h10csp3494145wrb; Tue, 28 Nov 2017 12:13:08 -0800 (PST) X-Google-Smtp-Source: AGs4zMb0Ps6zSSFVsCOeXaVDk8OWivrqLHO5WiIq2Dyn2tJbny9BuGUNaMsXep/cwl4vypZB9fJt X-Received: by 10.98.80.208 with SMTP id g77mr332489pfj.201.1511899988177; Tue, 28 Nov 2017 12:13:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511899988; cv=none; d=google.com; s=arc-20160816; b=I6XcYZ3FUZkj7cwota+10iaN/wGrSrnD0bQUEBuhephJMgHnifCExmx5+TCCiAtXum 3E7I5ISEa5Qzp/bj1nWNDsmHjJRS9eWUd+1Z2ykqPmKeCsd1M1RGg9rnf7ERnLi4HcIY 1BD/B/ZqyhqrayjYXcV57DvOCvWArKUDb2TSlvN6mIeGfKJtZhVrZ7UcPXSpm+BrwPrr AhFYukiRle1Maz1V5pSMdbFJNWlualxzkJ3hBYXUQgGv6WrS0PfzrC2vPB2x17GQwVUQ Mty48sLC2XjE14oW1rfPN93jO9sSu8ZbIudarF8JakGUgKECAsQ0nT1kpKZ/64c3Lvnl 2atg== 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=iPtRdKQ0nADoOJdbnW7ymoq4vF5EI8pOZixVLW/qCCY=; b=cnMIy1SySpORvrM/yHSLVlrKwHhiIZJQtzoaogzV7GRHA6fWDVStqpk0yGBMA8lQ+a Xhy970rguk9RQJwdxKN0qXKI645rKZsfUxDo1iRl8qDNWoNqruBNAWytJFGgtsT/pi71 QfLVG2VX7z9FNYgv9pFkWlo3JtsHuoFEIkRXT4pH/379S59wNVZAQnU/XReZc8PL92GH lcBNRnsMypY8lVxCsD/84pu0ueczY0M4DIsRd5z+HWKF/TqPSG/uyGF8mjgVxHI3pM6N z3b5VEYeaAuxpF1TVmV5XnR7exenlkywmCapge2+eChv1MANtYdMNokc5uUUaU06Fgoc Rz5A== 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 w16si25490712plk.568.2017.11.28.12.12.57; Tue, 28 Nov 2017 12:13:08 -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 S1753608AbdK1UML (ORCPT + 70 others); Tue, 28 Nov 2017 15:12:11 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:35457 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753015AbdK1UMK (ORCPT ); Tue, 28 Nov 2017 15:12:10 -0500 Received: from p4fea5f09.dip0.t-ipconnect.de ([79.234.95.9] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1eJmDP-0006Gt-SS; Tue, 28 Nov 2017 21:10:48 +0100 Date: Tue, 28 Nov 2017 21:11:55 +0100 (CET) From: Thomas Gleixner To: Alan Cox cc: "Gustavo A. R. Silva" , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, LKML , Kees Cook Subject: Re: [PATCH] x86/syscalls: Mark expected switch fall-throughs In-Reply-To: <20171128190032.2b1fa464@alans-desktop> Message-ID: References: <20171127235253.GA20384@embeddedor.com> <20171128120512.Horde.1mz61Up1PsNtyHbrjWmK8L7@gator4166.hostgator.com> <20171128122235.Horde.vFP-9ZfAP0f9BFNePB8Z8xi@gator4166.hostgator.com> <20171128190032.2b1fa464@alans-desktop> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 28 Nov 2017, Alan Cox wrote: > > I have no idea who came up with that brilliant idea of parsing comments in > > the code. It's so simple to make this parser completely fail that it's not > > Stephen Johnson (author of the V7 portable C compiler), which is where > it's from (the lint tool). He also wrote yacc so he does know a bit about > parsers 8). I don't doubt that. > > even funny anymore. > > The notation in question has been standard in tools like lint since the > end of the 1970s Fair enough. Still that does not make the GCC implementation which defaults to take 'any comment' as valid any better and does not solve other parsing issues which have been pointed out in various GCC bugs. Using the macro annotation is distinct and has no ifs and buts. Thanks, tglx From 1585341933997968398@xxx Tue Nov 28 20:11:25 +0000 2017 X-GM-THRID: 1585265423856272058 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread