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=-5.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 E8018C32751 for ; Wed, 31 Jul 2019 09:02:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AF98B2089E for ; Wed, 31 Jul 2019 09:02:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="N3fAGqeG" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727970AbfGaJCe (ORCPT ); Wed, 31 Jul 2019 05:02:34 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:52290 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726699AbfGaJCe (ORCPT ); Wed, 31 Jul 2019 05:02:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=RPv5D0YsFA+dr9kxKGN1j9O4pN/sAqyeCoYleozCdjA=; b=N3fAGqeG3DKpCPiqRdLjHveah idaMU5tAQ43QxN0v4ujTgxbZJgDc27yVT3KQS4lEEpy9tdqIuboqf5dZVTQ+iTywUo4sND3QuZITw 1+FQNyF5m+kpY9uTFnBpmFAsmfeQOTxmUrqJ5FxunLpr4nKELmxTKclpYmhKAcI20RS/ygNNPvEh1 5OQR8PPwQujix6gUV9EJ9LgkNpj6KWYpkV6f3fsL7UCTUm0fgHC+qkqVorV+HWvhJqBC+7uMVS5iz ZHem4lclfr5FC5y0yAVSuoA/TWmtDo0rfgKEY8g6jRHtxTB1UuJV3z8/BCJSSjOkljXlNG/qzd6gZ riJ4+x60w==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hskUv-0007GV-IV; Wed, 31 Jul 2019 09:02:13 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 0413B2029FD58; Wed, 31 Jul 2019 11:02:11 +0200 (CEST) Date: Wed, 31 Jul 2019 11:02:11 +0200 From: Peter Zijlstra To: Joe Perches Cc: Linus Torvalds , Miguel Ojeda , Kees Cook , Borislav Petkov , "H . Peter Anvin" , Thomas Gleixner , Ingo Molnar , Pavel Machek , "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: <20190731090211.GP31381@hirez.programming.kicks-ass.net> References: <1d2830aadbe9d8151728a7df5b88528fc72a0095.1564549413.git.joe@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1d2830aadbe9d8151728a7df5b88528fc72a0095.1564549413.git.joe@perches.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 30, 2019 at 10:35:18PM -0700, 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. > > All switch/case blocks now must end in one of: > > break; > fallthrough; > goto