Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1472814ybp; Wed, 9 Oct 2019 14:52:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqw3lb+jO13AneU1aQ+1PXzmSJsNfVvjOqoVMjzy12dz15J8XmtYmpgCaU0A3JO1uURD/m6S X-Received: by 2002:a17:906:edb7:: with SMTP id sa23mr4989208ejb.263.1570657958086; Wed, 09 Oct 2019 14:52:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570657958; cv=none; d=google.com; s=arc-20160816; b=s/DEGYcXtUOijgyf+KTVoQgSmS1ki57zfb9c9LLC13ZrKCqr/rqfs64mBK1GY2wd6l iVdnM/4WwjfYGtrg0xn636lIjlDAkEFt+eDBXQAuaZrspghTVjVP7M5VcA5NbTmd9fw6 uDn30SyvMe/6OgSibBS0GwsILBztrL9t0mBtyUyE+YzF8bHeIQwW46G87XD0RHyLRqrG YpGpGrcpZ6sXF7P1WU9LNWSGmZgLhx1tX0a2wqNdh4icXJimRWEQS8tuVvLd9tWwMymx hhb1NOyC55063jmQBl84/vFvaMe+xdBcTFxLTJZy0kYk1TzLOKE/3mphGiu23M9XUkGY CNpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=97UEnZkq1363enDKYmWWwRqD4DtS+tvynceFknVUyPM=; b=cVESaolvLbZICv0BncqRcdR3uYgklBeYVWjvSIo4FdGTekh40THBe8ymSBPV6SND7q qkTjuXuirdW4EmWdB7tbOTAB9fFpnw/LHNGl31GSfjksUP+Ltu+HR11qN1kE3oweacE0 I1ZtE4APCvpt2zWObh+yVttN7PhQatuxB1zL8DOFojJn717YtxrBT+z29uJQzxCIw6Gz DCdaCFzLcvquw+pqLK8FnfsYope5lrSq/GsM6E69dhlrlpypGYXF7Uzyp6+9i219yd0v 4sX3fOesRJXvfwAW4BYX3/GVm/xOq2r0TFVT3NFGOTUpc6SG+WlEQpeHxZ+YXOPGS95f YVtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=InKPrTMa; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i12si1977457ejj.119.2019.10.09.14.52.14; Wed, 09 Oct 2019 14:52:38 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=InKPrTMa; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732012AbfJIVwA (ORCPT + 99 others); Wed, 9 Oct 2019 17:52:00 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:33397 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731542AbfJIVwA (ORCPT ); Wed, 9 Oct 2019 17:52:00 -0400 Received: by mail-pg1-f194.google.com with SMTP id i76so2295210pgc.0 for ; Wed, 09 Oct 2019 14:51:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=97UEnZkq1363enDKYmWWwRqD4DtS+tvynceFknVUyPM=; b=InKPrTMa1e+FdIdNqHTz6q5ntOS2TrnoAYbmW5rmZYhz/Xd468AHt+nDruAX4im8yd kp8hdhrpOoDT+6VAmNnsYsS95oMWgUU1hvT/qR6wz3KBzWLB+SJjoBUTzCJKCxJpHO4g Mm5LZv6e86yVL3WjjtncdqED1RU6EDsgGs0ZDTyvsK0ewcfrHUTwhJ2BMVLscZA8KAyZ i1YRwlQXNGubbaLPYmP5p8gLfAMntJ9NIY6/MPIBs2GRh+X7xa2ukf+gQVt0dAOFYAfE nhYDXgkfsIz/da3KJMbIHXqmPWJNPKVW5xFAyVEmCphH/jobx5Msdq62kQ2UnUWLgAHy piag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=97UEnZkq1363enDKYmWWwRqD4DtS+tvynceFknVUyPM=; b=eSPJHeLXEWAL5FNscYNu01dFxJP4LDhSv5gkSAZ2AgZlAYp/ig6nUjJ0V03vpBzbx1 2jRyv50s02t+pvBgrMBRWTLOWR13alv5yA6KzU/40qc74hlEw+u3F4/o27LINpib9LaR pasjlrh/3UjMrxDmqCRulGUivNbnWtmXyWZY9SC97vQpX35bw8bXx46RY5ZMSptJtlY5 IzA5xZg6d0A/xPcheeW3ppYP+DzEhZzJPQBRcQTsCaTDTHliK2isyeYISScfJN6HbgTD ZrZsgC5G5iPQw9pGVKcnY6ehQ5+IrQJuZGm2Gm5eHTqB9ChW/2DK4Lxbk4SigfyLrWDM e+sA== X-Gm-Message-State: APjAAAWBBwqL8e0q02KU2+npI+Ot8weOD7mXz6XlZ4JaQsLugkO9H5w6 zQVAG8L2IeN8l4g03wFU42y2dS+e9lUHMV2O3OrLQA== X-Received: by 2002:a63:ef51:: with SMTP id c17mr6596833pgk.10.1570657918818; Wed, 09 Oct 2019 14:51:58 -0700 (PDT) MIME-Version: 1.0 References: <09a42c7275afa7e6e9e3fc57a15122201fccd6f7.1570292505.git.joe@perches.com> In-Reply-To: From: Nick Desaulniers Date: Wed, 9 Oct 2019 14:51:46 -0700 Message-ID: Subject: Re: [PATCH 3/4] Documentation/process: Add fallthrough pseudo-keyword To: Miguel Ojeda Cc: Joe Perches , Linus Torvalds , linux-kernel , 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)" , Nathan Chancellor , Andrew Morton , David Miller , clang-built-linux , Jonathan Corbet , Linux Doc Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 5, 2019 at 10:48 AM Miguel Ojeda wrote: > > On Sat, Oct 5, 2019 at 6:47 PM Joe Perches wrote: > > > > +When the C17/C18 [[fallthrough]] syntax is more commonly supported by > > Note that C17/C18 does not have [[fallthrough]]. C++17 introduced it, > as it is mentioned above. I would keep the > __attribute__((fallthrough)) -> [[fallthrough]] change you did, > though, since that is indeed the standard syntax (given the paragraph > references C++17). > > I was told by Aaron Ballman (who is proposing them for C) that it is > more or less likely that it becomes standardized in C2x. However, it > is still not added to the draft (other attributes are already, > though). See N2268 and N2269: > > http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2268.pdf (fallthrough) > http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2269.pdf > (attributes in general) > Interesting. I think those links might be useful to include, or drop the section on C++ style attributes outright. Either way: Acked-by: Nick Desaulniers -- Thanks, ~Nick Desaulniers