From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7459C32751 for ; Wed, 31 Jul 2019 18:25:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A281B214DA for ; Wed, 31 Jul 2019 18:25:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b="zlXYJ0r/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729993AbfGaSZj (ORCPT ); Wed, 31 Jul 2019 14:25:39 -0400 Received: from terminus.zytor.com ([198.137.202.136]:40665 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726520AbfGaSZi (ORCPT ); Wed, 31 Jul 2019 14:25:38 -0400 Received: from [10.171.236.151] ([192.55.54.60]) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id x6VIOeaT3787495 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 31 Jul 2019 11:24:40 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com x6VIOeaT3787495 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2019071901; t=1564597482; bh=txRshuHUqdGB6iKaTei8z8eRN2RTKp9cz6Id4MSwGeU=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=zlXYJ0r/PFIFBLEfb9vMBPc2VftRX7kfgBKiEgS27XUiJ7S08HzLMdX/qsyeLkAZe IJDdG1OZfnbypfq9wXnSAxz0yikDPM5nUNOYVB/xkN1ywgGTtAh2Jsuof56M3JwmVH 6hswTxuObNkyHUVlfkxKJIywo1XGow4wS1JbMRe5yZWnx374rhXnZ3rkbvm5M4o1aU AsBSec8oWalwnGNR0ob2d0JK8mmFVokYVF/cC9/tXkkmLyMP54vmZR4CvDyyGlrdUx M+uF5MD14CMukJZvYxsCSh9LgjttCrGnXRE4lzClxQY4nzoGb5Dtol3rLsEeh5mN2I /y5yJp3+Wq2mg== Date: Wed, 31 Jul 2019 11:24:36 -0700 User-Agent: K-9 Mail for Android In-Reply-To: References: <1d2830aadbe9d8151728a7df5b88528fc72a0095.1564549413.git.joe@perches.com> <20190731171429.GA24222@amd> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [RFC PATCH] compiler_attributes.h: Add 'fallthrough' pseudo keyword for switch/case use To: Joe Perches , Pavel Machek CC: Linus Torvalds , Miguel Ojeda , Kees Cook , Peter Zijlstra , Borislav Petkov , Thomas Gleixner , Ingo Molnar , "Gustavo A . R . Silva" , Arnaldo Carvalho de Melo , Kan Liang , Namhyung Kim , Jiri Olsa , Alexander Shishkin , Shawn Landden , x86@kernel.org, linux-kernel@vger.kernel.org From: hpa@zytor.com Message-ID: <765E740C-4259-4835-A58D-432006628BAC@zytor.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On July 31, 2019 10:51:37 AM PDT, Joe Perches wrote: >On Wed, 2019-07-31 at 19:14 +0200, Pavel Machek wrote: >> On Tue 2019-07-30 22:35:18, Joe Perches wrote: >> > Reserve the pseudo keyword 'fallthrough' for the ability to convert >the >> > various case block /* fallthrough */ style comments to appear to be >an >> > actual reserved word with the same gcc case block missing >fallthrough >> > warning capability=2E >>=20 >> Acked-by: Pavel Machek >>=20 >> > +/* >> > + * Add the pseudo keyword 'fallthrough' so case statement blocks >> > + * must end with any of these keywords: >> > + * break; >> > + * fallthrough; >> > + * goto