Received: by 10.223.164.202 with SMTP id h10csp3481401wrb; Tue, 28 Nov 2017 12:02:13 -0800 (PST) X-Google-Smtp-Source: AGs4zMZR9A+9MnM+0HNTXRDnvokgUTCzecozatugpD9+vRLbiZ6q7CT2Tt2xbjd6d8QvchxQIMBy X-Received: by 10.99.189.65 with SMTP id d1mr316467pgp.104.1511899333642; Tue, 28 Nov 2017 12:02:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511899333; cv=none; d=google.com; s=arc-20160816; b=W8OnK9TzpzFAGAQG4ICHHJk8LyCYlI1BKJRC6JSnaNI4wNNkI+AK0NvGBUANmARESm xSDYPbEtEHdOfQUchjAa2bpmGc5MLIPrAvHebwPq/kLR3NIMEK7XFbF2GQcKN3wQpLFP o0v9l6SwJ1SvL9s9MidUPEPU3ElABs4LmUl04XICDFGWedoPiTLF9hP8hHvMnyXOmX4d AfNQlvsoU8BdX801hoOmt0znsA9eSqaDSG5/xbz1NOof4lo2UugVYMYLtQMHmf3veSqZ yctxVYJZCoknHJ9ysaH7mtrrIF7eRZqZnMTDyCfb/GAeytPU2QliLVmmP8o7+hEIQUE8 A9sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=eCJe9mAk84ZO+rtRCeSh/8L5Llg/xVLjzA8be29SNhQ=; b=bksGBg53fH1ANhuzVdQ4y4YE4opfhRVpz+J5T6Chc796YsVHpFUZs8isGJj6qGMpG+ XEHL8AijYcGhYVEte/cX5OnuRhbYvTjLwNicPKuHn3qr31QzG6TbSr7yiIFGXboq2akw lpILPAAjyG9XS1BJJEcIjxPWSQ5+eQsNn5wcAJyJvxTJVrBWfNceMT25gFm06ilcnkaC hG30TZtouoSVchxE+Z8nUjZcJj1BPmD3lIQ2iyvu7rSqJUmHfz9hjun+KSj6lnasp2Vb wYO7XxZ4IHMJanrp2OwjDDLaKc2MOZNlovbchARxZ6kQxaqNzpuj6+R4N7C7U+L86+RN BxYA== 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 w5si18090243pgv.95.2017.11.28.12.02.02; Tue, 28 Nov 2017 12:02:13 -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 S1754219AbdK1UAA (ORCPT + 70 others); Tue, 28 Nov 2017 15:00:00 -0500 Received: from smtprelay0070.hostedemail.com ([216.40.44.70]:43693 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753126AbdK1T76 (ORCPT ); Tue, 28 Nov 2017 14:59:58 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay05.hostedemail.com (Postfix) with ESMTP id D2F2818014D23; Tue, 28 Nov 2017 19:59:57 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:967:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2393:2525:2553:2560:2563:2682:2685:2828:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3872:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:4605:5007:8985:9025:10004:10400:10848:11232:11658:11914:12043:12740:12760:12895:13069:13311:13357:13439:14096:14097:14181:14659:14721:21080:21212:21451:21627:30041:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: nest61_1c8ce693da645 X-Filterd-Recvd-Size: 2369 Received: from XPS-9350 (unknown [47.151.150.235]) (Authenticated sender: joe@perches.com) by omf10.hostedemail.com (Postfix) with ESMTPA; Tue, 28 Nov 2017 19:59:56 +0000 (UTC) Message-ID: <1511899194.19952.43.camel@perches.com> Subject: Re: [PATCH] x86/syscalls: Mark expected switch fall-throughs From: Joe Perches To: Linus Torvalds , Alan Cox Cc: Thomas Gleixner , "Gustavo A. R. Silva" , Ingo Molnar , "H. Peter Anvin" , the arch/x86 maintainers , LKML , Kees Cook Date: Tue, 28 Nov 2017 11:59:54 -0800 In-Reply-To: References: <20171127235253.GA20384@embeddedor.com> <20171128120512.Horde.1mz61Up1PsNtyHbrjWmK8L7@gator4166.hostgator.com> <20171128122235.Horde.vFP-9ZfAP0f9BFNePB8Z8xi@gator4166.hostgator.com> <20171128190032.2b1fa464@alans-desktop> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.26.1-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2017-11-28 at 11:10 -0800, Linus Torvalds wrote: > On Tue, Nov 28, 2017 at 11:00 AM, Alan Cox wrote: > > > > The notation in question has been standard in tools like lint since the > > end of the 1970s > > Yes. > > That said, maybe one option would be to annotate the "case:" and > "default:" statements if that makes people happier. > > IOW, we could do something like > > #define fallthrough __atttibute__((fallthrough)) > > and then write > > fallthrough case 1: > ... > > which while absolutely not traditional, might look and read a bit more > logical to people. I mean, it literally _is_ a "fallthrough case", so > it makes semantic sense. > > Or maybe people hate that kind of "making up new syntax" too? I don't https://lkml.org/lkml/2017/2/10/485 From 1585340571358614764@xxx Tue Nov 28 19:49:45 +0000 2017 X-GM-THRID: 1585265423856272058 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread