Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4643294ybp; Mon, 7 Oct 2019 11:30:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxH25E0KiaIg3JRcUeOzk1WRlleAFMbR5ssPsEedAy4K8lfGvS6I7Ye7mqMtec5g24dxY+O X-Received: by 2002:aa7:c5c1:: with SMTP id h1mr29778484eds.10.1570473023586; Mon, 07 Oct 2019 11:30:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570473023; cv=none; d=google.com; s=arc-20160816; b=rMft9RDjuN2WDIcECizattfwhZpYrv84p2rxiln1wQxngfsXq3mm8wAzyE7gfzrwyA ytYmH/ISDgqAo2eYVc+KmEsTr5ismW1Gfc4VYk6gQRGPA7A1SBYohrfkMgG1S04yxYha Hl3x3iu/PF7mONp3uoYWXp8nhjOPdzDkRy5UaYZ9NYKsT2NIBGVJz8BjTcK4y8x9qXhL SzVBMaROrB6eKqPXQnDLfssJfJdKdCOVvesvIxdKCP7pELH3MGXX+rDm0KBFFyh+JNLB /JLU0QbokJyapz7JxqcyYelsgA3Trf7c2c85g3479QzFtSy7uoiJ0MKmisvI8zG/FPY7 T8lg== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=SYt9UW+VN9hiffuvDGIOonUe6OcwDkjTpWiQwWE3MoE=; b=QuJhiFpwETzxcEGHUUyOZkuqdLRyLqVZ/BlikmMVUqZpmxFXNQ3TCkXevxObPcS/tq aYSaIH4Fa7zJ3A6iyX9ymlyDdUWop4lQzG1dVpcRNbaiyWge0fq6ntmn87nAUnFfoh2k SNOQfSHC2ApwOQWtfGVfYgDQnwtJEX8OxMU6fNygdJyWySfRbugKoYV4D5zv53yHR9Ri XU8ZccM1H4nhVK5Hs2NqSgNVBVKh8fAKEzgknrgZnxuZuvuwm4DZCo+LLDrXamleWSwV USzo6/gEw9OSR7vkNI1ushfIkIS21mssN5RQ0OFJ6f6dSQIlDvaSce8Ft3zTSg6VLL/b yvhg== 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 c14si7151816eda.8.2019.10.07.11.29.59; Mon, 07 Oct 2019 11:30:23 -0700 (PDT) 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 S1729425AbfJGS27 (ORCPT + 99 others); Mon, 7 Oct 2019 14:28:59 -0400 Received: from smtprelay0148.hostedemail.com ([216.40.44.148]:46744 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728031AbfJGS26 (ORCPT ); Mon, 7 Oct 2019 14:28:58 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 190F9182251CC; Mon, 7 Oct 2019 18:28:57 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::::::::::::::::::::,RULES_HIT:41:355:379:599:800:960:967:973:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1538:1593:1594:1711:1714:1730:1747:1777:1792:2393:2525:2553:2559:2563:2682:2685:2828:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3350:3622:3865:3866:3867:3868:3871:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:5007:6742:7903:8985:9025:10004:10400:11232:11658:11914:12043:12114:12297:12346:12555:12740:12760:12895:12986:13069:13255:13311:13357:13439:14181:14659:14721:21080:21433:21627:21811:30054:30090:30091,0,RBL:47.151.152.152:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:25,LUA_SUMMARY:none X-HE-Tag: neck58_87ecfa613314b X-Filterd-Recvd-Size: 2424 Received: from XPS-9350.home (unknown [47.151.152.152]) (Authenticated sender: joe@perches.com) by omf03.hostedemail.com (Postfix) with ESMTPA; Mon, 7 Oct 2019 18:28:53 +0000 (UTC) Message-ID: <0e5abed9afe267155cc8601d0fd7fdaa63883920.camel@perches.com> Subject: Re: [PATCH 2/4] compiler_attributes.h: Add 'fallthrough' pseudo keyword for switch/case use From: Joe Perches To: Nick Desaulniers , Miguel Ojeda Cc: Linus Torvalds , Kees Cook , Borislav Petkov , "H . Peter Anvin" , Thomas Gleixner , Pavel Machek , "Gustavo A . R . Silva" , Arnaldo Carvalho de Melo , Kan Liang , Namhyung Kim , Jiri Olsa , Alexander Shishkin , Shawn Landden , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , linux-kernel , Nathan Chancellor , Andrew Morton , David Miller , clang-built-linux Date: Mon, 07 Oct 2019 11:28:53 -0700 In-Reply-To: References: <79237afe056af8d81662f183491e3589922b8ddd.1570292505.git.joe@perches.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.32.1-2 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 Mon, 2019-10-07 at 11:14 -0700, Nick Desaulniers wrote: > > On Sat, Oct 5, 2019 at 6:46 PM Joe Perches wrote: > > > Reserve the pseudo keyword 'fallthrough' for the ability to convert the > > Have we precedent already for "pseudo keywords?" Many. see bool vs _Bool, u32 vs uint32_t, etc. > I kind of like the > double underscore prefix we use for attributes (which this is one of), Linus apparently (and rightly IMO) prefers fallthrough over __fallthrough. https://lore.kernel.org/lkml/201909161516.A68C8239A@keescook/