Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp940431lqp; Thu, 23 May 2024 04:58:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUUG970fttFIzxIBOF9LD9JEN4aGjokKwVA+rAL8/SwazA6szpsFlJkUMFwv7GpvEDmvgBlW97Sv4XD3bMGphJqR0lf23/SsnV0h3sa8A== X-Google-Smtp-Source: AGHT+IGya+3DCwCUOjFXM7EyH1D0jI9ncfo612qjRcJDcQ98bjMDplVp4d5iZD6sd9O8RDP5H5jy X-Received: by 2002:a17:907:7788:b0:a5a:15b6:413d with SMTP id a640c23a62f3a-a622820a634mr451088566b.69.1716465489581; Thu, 23 May 2024 04:58:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716465489; cv=pass; d=google.com; s=arc-20160816; b=JEezDTaOhteEKcE9g9RAPAFGzVtrBmcnqjRoXotIo8Hy3ysrIJuzrmGQ20dmG5EYNR JgNIlSBy1BxVmOOAkUYxrLy3L1LJSXXIZLpcjZX6ga4Az83qhIzN8bVVzldzFF6ijyMa SaXIaTA508BaofvNn2ON2hFSz9ZM/lASAUdpa/2+hHNUjkcQl2gOHMOkIkiCNtFCyubD 2CouG22WSylBe/YSMoQCWJAZP+0oE2tyMey6OvGKNrbo585a7iZU0gsKHvTqS5BNc94m dGZ7VghDitAD86OxYOAVe4ckyagBIRxadRDP85wC4PtvhzEvSNxys02B36r1xawVX4Xn pcSA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=CZsS3pH+jsfAXazQiScb1RJnmsQRxtO2MeMGpP7QhSw=; fh=MZk4dwELLUFO3Ka5Jt9fIQ1jRNtmMIKpZgtP1lL02/E=; b=O5sb4cTWjLX1jnfV+XyCNNKH2j/xoaZLjTYokEhbUROO3opIKnhuzPqpYEC0jzJXE9 Wpa64lpnQQgp4dqg9KFL4FttBD41NM0hq65RMd9NCRMFlKVHp/XV2ZJqKJJs4qyIlfPV 4Lo1i2N9Z2sLxVP/diDx94k4bDOBp2+ssHTWwOiHxP/E35YSmvg366dDS9MjBxf3s8Zx vOG7wlL2vj4te36ILeWTBWdrYCrHQBW0ipnoOU6auUJt9DUzWSAxUoqWiFAXJJEqQ58a i9IRX2nW/5Wl2Fm/cBNypm0GF1RYuEabMAJoRsXYujDmP7MTg3ugMY44X7HwhYkDSPPj 0c1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=AHEaR+8V; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-187424-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187424-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a73fd75adsi1156664866b.68.2024.05.23.04.58.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 04:58:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187424-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=AHEaR+8V; arc=pass (i=1 spf=pass spfdomain=alien8.de dkim=pass dkdomain=alien8.de dmarc=pass fromdomain=alien8.de); spf=pass (google.com: domain of linux-kernel+bounces-187424-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187424-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5276F1F22A52 for ; Thu, 23 May 2024 11:58:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3EF213BC3F; Thu, 23 May 2024 11:58:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="AHEaR+8V" Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 437CA13BAFA for ; Thu, 23 May 2024 11:57:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.109.113.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716465482; cv=none; b=pfqN7UPZzaHIg4J/fHEgODZ1UilwLr+vokM8fSXiwpR3bdfZfiOTuCA3nUaIg4NWtUOOn6mPSMyrzdE/gQ/iLG5OpPu+dp+HLL/TPc3yVoTkztcwUPhPCRNKWJMqJCAgRMdoTJQaZwohZJIvjXf3L3XgcA+0WRcM2LFLsInEsMY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716465482; c=relaxed/simple; bh=HAA1JcByLN2wxVzM8aQ+x0+swB/h7EfCk3kNXfRjJPU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dpl6CsgCKBn19/wRHOKq293pet/XoolKiBQTIqVdbvnUBZlmrtoI0gwJiqY/KGZVtEJusIwVyWShqKlwI+qjOqRRlyhTgDD0XIikV4UubvsbXpq2Lg3sKF+HwSdzxj0Ld31xQJ7yWj948Sc1/VsVqwoZ3MCFHff/HxT559fEjYw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de; spf=pass smtp.mailfrom=alien8.de; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b=AHEaR+8V; arc=none smtp.client-ip=65.109.113.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=alien8.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alien8.de Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 8E80840E016A; Thu, 23 May 2024 11:57:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3CkgdAvAWOub; Thu, 23 May 2024 11:57:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1716465472; bh=CZsS3pH+jsfAXazQiScb1RJnmsQRxtO2MeMGpP7QhSw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AHEaR+8VLh2AUD/73UMfLvOhkoWFwPnKKZAn7ED/OxX4oRee6Ajq7T6ITbQ2xxAZf aBwbPRX0q1x3f6XAWb0VG9E+SXWL2pCDszYRyXTzhJWX0BxSSqIxqGcnqb3aoRrlUO XSh5ntCCWer9JLBLpSTvvHn90cGKyrzSVx8pMtu3o/k4z0od20pciBHhftKLhAUtFb DmZfa4ymad4XO4QgJwOxtPR1A/ZHoZOiEVdhrF83TKZblxG4AwXcLGRCztYAsdh1Bd JjAf8YoRHy8HlGo9F6dJeLTJH2suS77Ge9TdLecdxwPtGJu/Y5CRn/r/tMmiCGK5o7 z6J0ZzxHbV2XBRY1hw7jfDkrjPIEyOa3PJ6BFBDgqc3hprhSw/k6zymY1AondSJch0 vI23KQpDgveZaefQsIotj8N6tza8ztrToAuMtk2WM5RWOmNARmb11O03sxos0wmcC0 s9ux/7PUexi1FnqRzn/Ybvb3SXrPhElFIKCTRG6ytaz8NkqrAQYp/McUwRVc2Q+UJQ FdjeOuK8MsbruS9OZgnIcCl2VFd6KdNK1zeEutVyZ/t92MI+CD8boAlT4Gr+UQhg57 6Hxw11OBcREkKt93s+eMGNjkQxbtk0KKZWuZIA+5USbTGpTM/TZze4HnvG/nwgo2Pe 1KdbGlRc43GtDeFabG9VlnMY= Received: from zn.tnic (p5de8ee85.dip0.t-ipconnect.de [93.232.238.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 7B6A340E0177; Thu, 23 May 2024 11:57:40 +0000 (UTC) Date: Thu, 23 May 2024 13:57:34 +0200 From: Borislav Petkov To: Nathan Chancellor Cc: Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, Bill Wendling , Justin Stitt , linux-kernel@vger.kernel.org, llvm@lists.linux.dev, patches@lists.linux.dev, kernel test robot , Kees Cook Subject: Re: [PATCH] x86/boot: Address clang -Wimplicit-fallthrough in vsprintf() Message-ID: <20240523115734.GAZk8vLgzOzD8Tv9pq@fat_crate.local> References: <20240516-x86-boot-fix-clang-implicit-fallthrough-v1-1-04dc320ca07c@kernel.org> <20240517095110.GAZkcojmJQoY_zU-OT@fat_crate.local> <20240517151833.GB3660288@thelio-3990X> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240517151833.GB3660288@thelio-3990X> On Fri, May 17, 2024 at 08:18:33AM -0700, Nathan Chancellor wrote: > There was a patch to make Clang match GCC's behavior a few years ago but > I think Kees made a good argument that GCC's behavior leaves potential > bugs on the table, so that was not pursued further. > > https://reviews.llvm.org/D91895#2417170 Really? Maybe I'm being dense but I don't see real bugs there... I see readability issues. :-) -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette