Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2056730pxu; Tue, 24 Nov 2020 16:05:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxhyOhxuqNT9KXWnz+9+5FPmgspvHBDaJbsBJywNAo7kELC3CgnPFbR8wyPWh6gQ+bpaT0H X-Received: by 2002:a50:85c6:: with SMTP id q6mr1074194edh.126.1606262728942; Tue, 24 Nov 2020 16:05:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606262728; cv=none; d=google.com; s=arc-20160816; b=JetJ93V20gM6ywV7djz25ZK7+cFVZh0dTlCkK7qid2+9SF7TAJZfSCas1qqFZsY0P3 puITNap9xw7x6LN5rFPE024dqAKPfr4w3dCB0KNZjtRhX2oeJmqIejdUM+UZjkMeA42i V9IYITwGhQdlLJTAKFXaC7xY+WQg+sxC0ymSKKVG/HjKaZCAKk/BW/GxcIdpXSAYiU3p Ctm0fuVd0YVp6eik+vMgb6tJqowJPQ9XsIYPKUAEoc3OYK7eyUKb1ooyXNw1diC9vJ2V mvdDHglVP7jAnBKHGgCYaRH4/NNj3TDN1ob8MTw80l++L+iWb+2H4bbABCORVOFNS4JW DPGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date; bh=2iGQ6mWZNtbJPiwAVaJof98ylz+QVxJv4E6bAwuQLM0=; b=zZ2z2uC/5bsRAZVptXxHd/j8isoa+ma3BH/EzrIl3NHwj8YABqxEAhJcF+Gl/VR4sy B9QSFGz7Fn7jq4zuvLpC75gWLy6c1H0BfrpBFdI3jVPx6pDsPp33l/KREQcBt+8Gdf+x TftHZwu6M71AJPsIOxXXyrkQ85kFkTUGwEr+5xWPneVPfxBR/lm2JBSAvxnPGfEz3Cy+ wI8mSAXYKSsDrrsTGiEvi/Eokq9HTq9O7tfcwu25wNHGFwUmVOuF6th4C6eeV7X7QEJC rfmLJ79ZEjKa0DH8U2YDZm5OoaN0eKTTbesxkttyX5omHIE/raOszzv12PDIlLPe8UkY agZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b8si269017ejp.173.2020.11.24.16.05.06; Tue, 24 Nov 2020 16:05:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726949AbgKXXxW (ORCPT + 99 others); Tue, 24 Nov 2020 18:53:22 -0500 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:43356 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725989AbgKXXxU (ORCPT ); Tue, 24 Nov 2020 18:53:20 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id DCBBC2AA63; Tue, 24 Nov 2020 18:53:13 -0500 (EST) Date: Wed, 25 Nov 2020 10:53:13 +1100 (AEDT) From: Finn Thain To: Miguel Ojeda cc: Kees Cook , James Bottomley , "Gustavo A. R. Silva" , Joe Perches , Jakub Kicinski , alsa-devel@alsa-project.org, linux-atm-general@lists.sourceforge.net, reiserfs-devel@vger.kernel.org, linux-iio@vger.kernel.org, linux-wireless , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-kernel , Nathan Chancellor , linux-ide@vger.kernel.org, dm-devel@redhat.com, keyrings@vger.kernel.org, linux-mtd@lists.infradead.org, GR-everest-linux-l2@marvell.com, wcn36xx@lists.infradead.org, samba-technical@lists.samba.org, linux-i3c@lists.infradead.org, linux1394-devel@lists.sourceforge.net, linux-afs@lists.infradead.org, usb-storage@lists.one-eyed-alien.net, drbd-dev@lists.linbit.com, devel@driverdev.osuosl.org, linux-cifs@vger.kernel.org, rds-devel@oss.oracle.com, Nick Desaulniers , linux-scsi@vger.kernel.org, linux-rdma@vger.kernel.org, oss-drivers@netronome.com, bridge@lists.linux-foundation.org, linux-security-module@vger.kernel.org, amd-gfx@lists.freedesktop.org, linux-stm32@st-md-mailman.stormreply.com, cluster-devel@redhat.com, linux-acpi@vger.kernel.org, coreteam@netfilter.org, intel-wired-lan@lists.osuosl.org, linux-input , Miguel Ojeda , tipc-discussion@lists.sourceforge.net, Ext4 Developers List , Linux Media Mailing List , linux-watchdog@vger.kernel.org, selinux@vger.kernel.org, linux-arm-msm@vger.kernel.org, intel-gfx@lists.freedesktop.org, linux-geode@lists.infradead.org, linux-can@vger.kernel.org, linux-block@vger.kernel.org, linux-gpio@vger.kernel.org, op-tee@lists.trustedfirmware.org, linux-mediatek@lists.infradead.org, xen-devel@lists.xenproject.org, nouveau@lists.freedesktop.org, linux-hams@vger.kernel.org, ceph-devel@vger.kernel.org, virtualization@lists.linux-foundation.org, Linux ARM , linux-hwmon@vger.kernel.org, "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , linux-nfs@vger.kernel.org, GR-Linux-NIC-Dev@marvell.com, Linux-MM , Network Development , linux-decnet-user@lists.sourceforge.net, linux-mmc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-sctp@vger.kernel.org, linux-usb@vger.kernel.org, netfilter-devel@vger.kernel.org, Linux Crypto Mailing List , patches@opensource.cirrus.com, linux-integrity@vger.kernel.org, target-devel@vger.kernel.org, linux-hardening@vger.kernel.org, Jonathan Cameron , Greg KH Subject: Re: [Intel-wired-lan] [PATCH 000/141] Fix fall-through warnings for Clang In-Reply-To: Message-ID: References: <202011201129.B13FDB3C@keescook> <20201120115142.292999b2@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <202011220816.8B6591A@keescook> <9b57fd4914b46f38d54087d75e072d6e947cb56d.camel@HansenPartnership.com> <0147972a72bc13f3629de8a32dee6f1f308994b5.camel@HansenPartnership.com> <20201123130348.GA3119@embeddedor> <8f5611bb015e044fa1c0a48147293923c2d904e4.camel@HansenPartnership.com> <202011241327.BB28F12F6@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Wed, 25 Nov 2020, Miguel Ojeda wrote: > > The C standard has nothing to do with this. We use compiler extensions > of several kinds, for many years. Even discounting those extensions, the > kernel is not even conforming to C due to e.g. strict aliasing. I am not > sure what you are trying to argue here. > I'm saying that supporting the official language spec makes more sense than attempting to support a multitude of divergent interpretations of the spec (i.e. gcc, clang, coverity etc.) I'm also saying that the reason why we use -std=gnu89 is that existing code was written in that language, not in ad hoc languages comprised of collections of extensions that change with every release. > But, since you insist: yes, the `fallthrough` attribute is in the > current C2x draft. > Thank you for checking. I found a free version that's only 6 weeks old: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2583.pdf It will be interesting to see whether 6.7.11.5 changes once the various implementations reach agreement.