Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6248808ybi; Wed, 31 Jul 2019 10:53:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnaI0iLAyqyjJ/J+kEubW20nSScRSTkVTPCatzYwdKvZ5/XTYFDW5epQVVIa8irPrhr2qw X-Received: by 2002:a17:90a:24ac:: with SMTP id i41mr4098759pje.124.1564595594617; Wed, 31 Jul 2019 10:53:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564595594; cv=none; d=google.com; s=arc-20160816; b=l4sJ36GKXDLhlXVNJTo3mx7ZCftDXA7pVGlEzXBsA93TRYl1S7ey9IrCS3YiPJLjkd FB7ktIpD5bLipxnJNNevVtulw+gzwlc2g71RY/S+vWwmhcskVl2RAl6WibSVM1C22hdD dUEnfJIBb9NtpsKB7BS+qcT5auw15WSslvPHDQ9lyZjBJ8vYUyUUw9S8QuCyLiOTFceD kEBP1Wq0K07u9LPhZJqzHwaRfkT4Lyp68xkckzG81MYCtqBz+4hBdCA1gnIuIHGYUP+D xhO1L4jbySd7VhRaW+FtcfRAToOSuPzCCz38SQ8bH5G4qZaE6YJTE0yWFTiGrN1RSVmM pEWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=tEzQL1E59DNzDCfGekpVn++uvzGjuavSTHEfvF75hgI=; b=v27NCGqioHoA6P4NbRzD5SnQY8mAVD1bai2wiE7chuR6aGzAsg8MLfZmdtdAMa4kIV +XlVbNJssOVhVJ6lRGLnzouTAlRFqN0NobviVloDIMhqrZnh2NoUBgmHTBwiKJhGKFRn DIf8STjwnYiYzyLmOragjnewvRWMCuds3jHsSaiVRuJlTi5hg7xzUYe2kVHD1FiUr4fp YAfT2x44anlNxXhcibUHGazC8+RDO5fl0PmzXcwUx3n2yOomr5Q15wD7sCsLZzD1uFCw K8N1b1QC+7s+NJu9ObpfUBi+ZJVrO72uPqSTrflCW0HyhtpKMBdLA3+jJW1t+5sPULHM x/ww== 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 n1si29586376plk.388.2019.07.31.10.52.59; Wed, 31 Jul 2019 10:53:14 -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 S1730545AbfGaROd (ORCPT + 99 others); Wed, 31 Jul 2019 13:14:33 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:44604 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728879AbfGaROc (ORCPT ); Wed, 31 Jul 2019 13:14:32 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 16C3F80315; Wed, 31 Jul 2019 19:14:18 +0200 (CEST) Date: Wed, 31 Jul 2019 19:14:29 +0200 From: Pavel Machek To: Joe Perches Cc: Linus Torvalds , Miguel Ojeda , Kees Cook , Peter Zijlstra , Borislav Petkov , "H . Peter Anvin" , 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 Subject: Re: [RFC PATCH] compiler_attributes.h: Add 'fallthrough' pseudo keyword for switch/case use Message-ID: <20190731171429.GA24222@amd> References: <1d2830aadbe9d8151728a7df5b88528fc72a0095.1564549413.git.joe@perches.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <1d2830aadbe9d8151728a7df5b88528fc72a0095.1564549413.git.joe@perches.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. Acked-by: Pavel Machek > +/* > + * Add the pseudo keyword 'fallthrough' so case statement blocks > + * must end with any of these keywords: > + * break; > + * fallthrough; > + * goto