Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp389918pxu; Sun, 22 Nov 2020 11:55:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwDHyqDzF7RI9xxOyjHgAOF4sZX15v9lDcZ1JRBTFIUgT1zhzJhz4QqAFVyUt4CBhCGCiZn X-Received: by 2002:a17:906:6b82:: with SMTP id l2mr9299627ejr.241.1606074942516; Sun, 22 Nov 2020 11:55:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606074942; cv=none; d=google.com; s=arc-20160816; b=cqNjKGthy2XhjiGsPoEGiDvx/xzp/4yFlHniG/0tZgXenpPxl8kh6lR9GwZE3K+uSS Adgj95AVu0d3SLX4ZTsfKn+DyEUjE8oaKwBw9GrTVr/g6bpoUnCfx90p1HVd9rGeTgnT phNqUC9liVLjbMamrBzmeWxBHLveWbRuuPdgqkFLD7st2B+d88qPo5XpFFIDtGZ6EBuu RTA/ny5ln/eTYUhvVZcT4M+ogPWZiDwuhJyfPKyJNRhRDWRgxQBkjNL2MZK3IlBEGFLV yEGC3f0fNfe4b5zTzfjH6wR+5ubMEXsWPT9+paBb4PeQMiysMbXOsMR/FshtyBG0Py8z bWrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature:dkim-signature; bh=5mZ+pIQ2TR/1deq2J2HzMVCoopPyew9P7ySIfcnjerI=; b=Msk67JJMNM2RIUGgHo/L6Y6HHmSc0LEumNrsTlYBln6K4awJEPe9YIvv8nH+fK8EVC JnFgKD1eBfZWDqOSZ5I7Mc/Rx4pCoqLVoL6oUGWAZl6tHieJaDA5vODLEsITb0dlK9Aw dcQII7IWpueoihfhkLOKz7a5ueXclfDMNQV465QNhXtN+5U6oKJYJ+VsIhiX9w91m+6c pfoey1Orw9Dp1VQxtvWmf0EhB3DKHUhENGqyK6/2V9pPe1L2d24PhOnkndpBU9yPIzly u6S26GiJeKJjsyh1OLqLfgq5rFcoF0Ya7/ik8LxXVYvccVRVEKl2a65WX8uTK1D/B9Or BWhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=Xy60wiIz; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=Xy60wiIz; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b13si5305577eje.225.2020.11.22.11.55.08; Sun, 22 Nov 2020 11:55:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=Xy60wiIz; dkim=pass header.i=@hansenpartnership.com header.s=20151216 header.b=Xy60wiIz; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hansenpartnership.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727366AbgKVTyA (ORCPT + 99 others); Sun, 22 Nov 2020 14:54:00 -0500 Received: from bedivere.hansenpartnership.com ([96.44.175.130]:50456 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727297AbgKVTx7 (ORCPT ); Sun, 22 Nov 2020 14:53:59 -0500 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 5E73C128040D; Sun, 22 Nov 2020 11:53:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1606074839; bh=VEGy54rcLCho40R+6JbprsRZooc9e7x1ylV8+ruCN0g=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References:From; b=Xy60wiIzsyTeElUeeJd3QYsiHNZfzmGET/Nzo9eZo2OJxmb5EOyvszf5Q8Et12YN3 QzMj8C6lMBcV0iKMn2xQmIYhyRP6O8RGeJWdk6ZnR1Mz2fkvBJLWRT04tHjc221TnA rtTRX0GCrDoOkJiVFq/y98T9XhefjbMkzX0sdCSc= Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OHz2YSDN_nkT; Sun, 22 Nov 2020 11:53:59 -0800 (PST) Received: from jarvis.int.hansenpartnership.com (unknown [IPv6:2601:600:8280:66d1::527]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id D0B171280404; Sun, 22 Nov 2020 11:53:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hansenpartnership.com; s=20151216; t=1606074839; bh=VEGy54rcLCho40R+6JbprsRZooc9e7x1ylV8+ruCN0g=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References:From; b=Xy60wiIzsyTeElUeeJd3QYsiHNZfzmGET/Nzo9eZo2OJxmb5EOyvszf5Q8Et12YN3 QzMj8C6lMBcV0iKMn2xQmIYhyRP6O8RGeJWdk6ZnR1Mz2fkvBJLWRT04tHjc221TnA rtTRX0GCrDoOkJiVFq/y98T9XhefjbMkzX0sdCSc= Message-ID: Subject: Re: [PATCH 000/141] Fix fall-through warnings for Clang From: James Bottomley To: Joe Perches , Kees Cook , Jakub Kicinski Cc: "Gustavo A. R. Silva" , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, amd-gfx@lists.freedesktop.org, bridge@lists.linux-foundation.org, ceph-devel@vger.kernel.org, cluster-devel@redhat.com, coreteam@netfilter.org, devel@driverdev.osuosl.org, dm-devel@redhat.com, drbd-dev@lists.linbit.com, dri-devel@lists.freedesktop.org, GR-everest-linux-l2@marvell.com, GR-Linux-NIC-Dev@marvell.com, intel-gfx@lists.freedesktop.org, intel-wired-lan@lists.osuosl.org, keyrings@vger.kernel.org, linux1394-devel@lists.sourceforge.net, linux-acpi@vger.kernel.org, linux-afs@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-atm-general@lists.sourceforge.net, linux-block@vger.kernel.org, linux-can@vger.kernel.org, linux-cifs@vger.kernel.org, linux-crypto@vger.kernel.org, linux-decnet-user@lists.sourceforge.net, linux-ext4@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-geode@lists.infradead.org, linux-gpio@vger.kernel.org, linux-hams@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-i3c@lists.infradead.org, linux-ide@vger.kernel.org, linux-iio@vger.kernel.org, linux-input@vger.kernel.org, linux-integrity@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-media@vger.kernel.org, linux-mmc@vger.kernel.org, linux-mm@kvack.org, linux-mtd@lists.infradead.org, linux-nfs@vger.kernel.org, linux-rdma@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-scsi@vger.kernel.org, linux-sctp@vger.kernel.org, linux-security-module@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-usb@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, nouveau@lists.freedesktop.org, op-tee@lists.trustedfirmware.org, oss-drivers@netronome.com, patches@opensource.cirrus.com, rds-devel@oss.oracle.com, reiserfs-devel@vger.kernel.org, samba-technical@lists.samba.org, selinux@vger.kernel.org, target-devel@vger.kernel.org, tipc-discussion@lists.sourceforge.net, usb-storage@lists.one-eyed-alien.net, virtualization@lists.linux-foundation.org, wcn36xx@lists.infradead.org, x86@kernel.org, xen-devel@lists.xenproject.org, linux-hardening@vger.kernel.org, Nick Desaulniers , Nathan Chancellor , Miguel Ojeda Date: Sun, 22 Nov 2020 11:53:55 -0800 In-Reply-To: References: <20201120105344.4345c14e@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <202011201129.B13FDB3C@keescook> <20201120115142.292999b2@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <202011220816.8B6591A@keescook> <9b57fd4914b46f38d54087d75e072d6e947cb56d.camel@HansenPartnership.com> <0147972a72bc13f3629de8a32dee6f1f308994b5.camel@HansenPartnership.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Sun, 2020-11-22 at 11:22 -0800, Joe Perches wrote: > On Sun, 2020-11-22 at 11:12 -0800, James Bottomley wrote: > > On Sun, 2020-11-22 at 10:25 -0800, Joe Perches wrote: > > > On Sun, 2020-11-22 at 10:21 -0800, James Bottomley wrote: > > > > Please tell me our reward for all this effort isn't a single > > > > missing error print. > > > > > > There were quite literally dozens of logical defects found > > > by the fallthrough additions. Very few were logging only. > > > > So can you give us the best examples (or indeed all of them if > > someone is keeping score)? hopefully this isn't a US election > > situation ... > > Gustavo? Are you running for congress now? > > https://lwn.net/Articles/794944/ That's 21 reported fixes of which about 50% seem to produce no change in code behaviour at all, a quarter seem to have no user visible effect with the remaining quarter producing unexpected errors on obscure configuration parameters, which is why no-one really noticed them before. James