Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2137547ima; Mon, 22 Oct 2018 05:05:25 -0700 (PDT) X-Google-Smtp-Source: ACcGV62zV5y5Lxpac3Q38mNZyKWmlys4OvwFbdHXgS+v7RMjUvKRqTI6lQFBmtz2mLbC2MDtiVks X-Received: by 2002:a17:902:e28a:: with SMTP id cf10-v6mr45276389plb.81.1540209925322; Mon, 22 Oct 2018 05:05:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540209925; cv=none; d=google.com; s=arc-20160816; b=stJfK7thDy0soh/IYD0cYit+V/FwErtJMMWpm6EYUIZgmjYzzhG9i0wfthbOiSm440 70h4p6QT2XL76Cpnx3RESzsphRcZOHKziID6nETtLIEaPyXJzk7j9i4oKllMKDJG4vxz IyjmGD561WBKw7U8vPK08fsiCZBCswFyJOD7k/Y7RBv61nsMvpWhEfohFo9xRNB+rlBP O2ojlsRYNTRF/WemZLrwrLKjbU76x8XH5MAqsRBeeZgUMV8x2SfQityZL/1c7VfNHFbB J3X1ebhhnhOUOpGC3AYR7nY4iPYiECOIVPinSuOBSG3eDXy2DPXq/zaj+AwdjOxnBq04 gUhQ== 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:dkim-signature; bh=tJQgWvv3kc95Cth1illPOAYEoFCCA9gBK0FjrV4hSdM=; b=MJC6bIk238L1gtPgSkNife8ALf+yus3QkPeJ4HLGG1vxjuuFtnFyoZzBM9EUjYCk8v AZmRdmVxgCo+vEjIAm85zGKowbuOr9kdYz1SEj8puEgMhWXEb1tqjsFoQGf0W3Tj6sLc I0Y56XpQRDJdVR5LiSdhJCH3r3rhNHP7uPRAzXQj6H5U4tSFW4I06+EYFCrL/A52Fz3Q t1MEkGNj3wD04XlmpZNoBKoJYTot+thvUnxsGZS6tfIlo+xsWKJAA5H5SJd9xpWvnVAd J6lw6oq0DFD3Q7fwLYS1PjvdSBN+JTNZh+udz4SLT+v2NIhjICThYHoXP5+60ybbMU69 nyHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b="RfiMQ8D/"; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d34-v6si33308853pgm.550.2018.10.22.05.05.09; Mon, 22 Oct 2018 05:05:25 -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=@oracle.com header.s=corp-2018-07-02 header.b="RfiMQ8D/"; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728742AbeJVTN2 (ORCPT + 99 others); Mon, 22 Oct 2018 15:13:28 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:44922 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728300AbeJVTN2 (ORCPT ); Mon, 22 Oct 2018 15:13:28 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w9MArm3R074557; Mon, 22 Oct 2018 10:53:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2018-07-02; bh=tJQgWvv3kc95Cth1illPOAYEoFCCA9gBK0FjrV4hSdM=; b=RfiMQ8D/LDEJzou/oidSmaJftRaLX+Y2ehCCMTKwy2t/0nvbzn33+ZrYpwE5mScowzNQ JlROGk4ysIbFbD0bOFbS/AEP6AcyY9fFbqJdY+dBU24zsEHXS8e6bBIWJoBls1aYmPJg Doy9RX2axztYh52cdbeQG4s/D0Lsms3v9285P00vai0M5Od57cH2MAy6b06Uouvk6FYS k3FmmKMwKo8qsRa822hIkDPMNZMOsNREopvoGtYkaXV0zRBq9eZ8F3VaHjMaMprMNuSS SW8grxjdNa04xfLzUyCCMbhCUJAwun78Pj3KRSgbMYcrZKQ34gk3UXQ0V2585gKBuqCE 2Q== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2120.oracle.com with ESMTP id 2n7w0qdmq3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Oct 2018 10:53:48 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w9MArkEW019373 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 22 Oct 2018 10:53:46 GMT Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w9MArhuD025937; Mon, 22 Oct 2018 10:53:43 GMT Received: from mwanda (/129.205.6.86) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 22 Oct 2018 03:53:41 -0700 Date: Mon, 22 Oct 2018 13:53:14 +0300 From: Dan Carpenter To: Bernd Petrovitsch 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 Subject: Re: [PATCH 1/2] Compiler Attributes: add support for __fallthrough (gcc >= 7.1) Message-ID: <20181022105314.j6djkrpwbnokhai5@mwanda> 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> <1474d995-1b5a-2efb-f077-33eb4a5d9e31@petrovitsch.priv.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1474d995-1b5a-2efb-f077-33eb4a5d9e31@petrovitsch.priv.at> User-Agent: NeoMutt/20170609 (1.8.3) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9053 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810220097 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 22, 2018 at 12:45:03PM +0200, Bernd Petrovitsch wrote: > 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. > Doing both is super ugly. Let's just do comments until Eclipse gets updated. I had wanted to move to the attribute because that would simplify things in Smatch but it's not a huge deal to delay for another year. regards, dan carpenter