Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2068438ima; Mon, 22 Oct 2018 03:48:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV62lIrlLx0jaoBv+oEjb5oQOQVgxC1z1SKHILjVzokoUXdMHyZV/r5TPUS5VMxApjcfAXWfq X-Received: by 2002:a63:2019:: with SMTP id g25-v6mr42612729pgg.235.1540205319102; Mon, 22 Oct 2018 03:48:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540205319; cv=none; d=google.com; s=arc-20160816; b=xuA0eFblmjDiMaZzHyG3slcUWoUkKotTF7tRVSPeFTwc3UVXYW2qV+i+g/3lBdrCzB hWkZtSn4GOifglwt7V7hxzryRj9tDSKxj16foL16iB16ihIZHXopfViA8iNPVaJma91p KYIeQG/A/x01D5tcUZsHIe26kWJHOHVwLhlsgbPvZdi6mSJjszWUVwhn+JExx8pUp9Oe J49PhJtmwSdQPV1G3QEbeaXl2Irqt+ZbQK3SyZREhXUOxw4WnYe0A8fkzc5YSd1iL3eD GgH0+ImTED3fUeXwKE/zOUS/Yk3aDxwba4Ll+DqydtuKhO3DptTUCAU61zunQcEC5gI5 sfJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject; bh=qJrEQ2E71COQNsUbTlUi2Bz8yZYTf6uChbUasqzL/AY=; b=hDBuLAx27B+i790VcH5lcgebWfhOzKSNZEKeeKFk8Fyc/xdxTBfSqWxPLQZumeswS4 ROp5QgxJ+vAeqj+STQkg/MKqLC/Ep0eAKyH7Q04ZMnCLO/rBVxz28bfuGtEyBx2wEDWO WVCoIXk6Rw4mh1R2/vPM/c/9U0Tz2Aq4c1hbkSUNqk106Pw0MpunNaFAnbkROCyLUsnk nyjfW6C7eO1KJZuMSxnEXtBamVC7UykITclVSP/xyDFE/mhNoPafSXTVDM0PkdanqqoA UkTce2ViEExr3w06pCB+JZrve32MSWiB2+oQIZMQLynLGXP4waC1WTAeMiQzdgh39oVf +4iQ== 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 j65-v6si31372997pge.589.2018.10.22.03.48.22; Mon, 22 Oct 2018 03:48:39 -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 S1728676AbeJVTF7 (ORCPT + 99 others); Mon, 22 Oct 2018 15:05:59 -0400 Received: from esgaroth.petrovitsch.at ([78.47.184.11]:3668 "EHLO esgaroth.tuxoid.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727857AbeJVTF7 (ORCPT ); Mon, 22 Oct 2018 15:05:59 -0400 Received: from [10.68.100.236] (h10-gesig.woeg.acw.at [217.116.178.11] (may be forged)) (authenticated bits=0) by esgaroth.tuxoid.at (8.15.2/8.15.2) with ESMTPSA id w9MAj8vG024057 (version=TLSv1 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 22 Oct 2018 12:45:09 +0200 Subject: Re: [PATCH 1/2] Compiler Attributes: add support for __fallthrough (gcc >= 7.1) To: Dan Carpenter Cc: "Theodore Y. Ts'o" , Miguel Ojeda , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Andreas Dilger , Masahiro Yamada , Michal Marek , Steven Rostedt , Mauro Carvalho Chehab , Olof Johansson , Konstantin Ryabitsev , "David S . Miller" , Andrey Ryabinin , Kees Cook , Thomas Gleixner , Ingo Molnar , Paul Lawrence , Sandipan Das , Andrey Konovalov , David Woodhouse , Will Deacon , Philippe Ombredanne , Paul Burton , David Rientjes , Willy Tarreau , Martin Sebor , Christopher Li , Jonathan Corbet , Geert Uytterhoeven , Rasmus Villemoes , Joe Perches , Arnd Bergmann , Dominique Martinet , Stefan Agner , Luc Van Oostenryck , Nick Desaulniers , Andrew Morton , Linus Torvalds , linux-doc@vger.kernel.org, linux-ext4@vger.kernel.org, linux-sparse@vger.kernel.org, linux-kbuild@vger.kernel.org References: <20181021171414.22674-1-miguel.ojeda.sandonis@gmail.com> <20181021171414.22674-2-miguel.ojeda.sandonis@gmail.com> <20181021222712.GI1617@thunk.org> <8fb78062-b6d4-6f2d-d943-44bec6b95ff0@petrovitsch.priv.at> <20181022102743.nua5fgbscyeymzal@mwanda> From: Bernd Petrovitsch Message-ID: <1474d995-1b5a-2efb-f077-33eb4a5d9e31@petrovitsch.priv.at> Date: Mon, 22 Oct 2018 12:45:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181022102743.nua5fgbscyeymzal@mwanda> Content-Type: multipart/mixed; boundary="------------6B430408704DD0FCAEB2EC1A" Content-Language: en-US X-DCC-EATSERVER-Metrics: esgaroth.tuxoid.at 1166; Body=43 Fuz1=43 Fuz2=43 X-Virus-Scanned: clamav-milter 0.97 at esgaroth.tuxoid.at X-Virus-Status: Clean X-Spam-Status: No, score=-0.5 required=5.0 tests=ALL_TRUSTED,AWL autolearn=unavailable version=3.3.1 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.5 AWL AWL: Adjusted score from AWL reputation of From: address X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on esgaroth.tuxoid.at Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------6B430408704DD0FCAEB2EC1A Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 22/10/18 12:27, Dan Carpenter wrote: [...] > What does that even mean? Use both the attribute and the comment until= > Eclipse is updated? >=20 > case 3: > frob(); > __fall_through; /* fall through */ > case 4: >=20 > That seems like a wrong idea... It's more like ---- snip ---- case 3: frob(); __fall_through; /* no break - fall through */ case 4: ---- snip ---- as "eclipse" doesn't accept anything else. And yes, it's far from "beautiful" but I hadn't time to dig into eclipses innards to fix that. MfG, Bernd --=20 "I dislike type abstraction if it has no real reason. And saving on typing is not a good reason - if your typing speed is the main issue when you're coding, you're doing something seriously wrong." - Linus Torvalds --------------6B430408704DD0FCAEB2EC1A Content-Type: application/pgp-keys; name="pEpkey.asc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="pEpkey.asc" -----BEGIN PGP PUBLIC KEY BLOCK----- mQGNBFss+8cBDACpXlq0ZC9Qp8R+iFPx5vDPu12FpnmbbV8CwexVDchdizF2qz+A PFh12RrkE6yudI0r7peAIRePiSVYqv8XT82TpJM+tbTYk/MSQaPhcmz8jl1HaKv0 q8g5nKtr42qRsswU7Q2Sa6mWXaIdOisPYZ9eLZC9BDBhI/YrgdAwszyYJ1HUwNkp Dw5i4wW/SsIKrotCboYzbBjZfHbmDJr4dFYSoMg5jQVHD2Yz8fqNSoRyd7i/oicn 1bH/DjEkrmIu9YuptuHYmblpCRo5dLww7kgszNw12j8Iljp64uJ/uz5+asBUmRZM mGey82BB1DnIvy1v+GnbGWFIYy79/HeqdN+KbOgO/sXoqYKS5KJ6aSqWOLTQk6sv AnDN2PNF5jOB9ROCNwoQSH/YNEfMd/mQ5pGB0UJ4ykD0UnjW7DdXbVOwvwWzfHF7 HaZXB1NMpBzHxold3W19DThd4HECvXYZ6Au6p0WE8IfABS11CzbX7KJuD5Ua+xKG 3W05fMg5i0td2aMAEQEAAbQtQmVybmQgUGV0cm92aXRzY2ggPGJlcm5kQHBldHJv d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