Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp828244lqo; Fri, 17 May 2024 02:52:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXZkOn1TFEZw591IH8We86H3Vpxn88bKC8HTb7GYAYBoEWUHx3wcoOOlhQ5rHqyUmoY3F392a67Z2Y8doKl6wdW8WEt/u4y+SBB8zPgkQ== X-Google-Smtp-Source: AGHT+IEzqslD0U+Njzg9ut7f6JCZnwqn1qlE60Wy/ojjVXRW0jvzQJH3GDNv1SYhBKlx3G64dYW9 X-Received: by 2002:a05:6a20:dda0:b0:1af:cbe1:8a4e with SMTP id adf61e73a8af0-1afde191e0emr24720617637.23.1715939521877; Fri, 17 May 2024 02:52:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715939521; cv=pass; d=google.com; s=arc-20160816; b=uKluXUSFEJhdXqo19URIaPfOvcVjVB/N7rlqk1nJeaEwat0VCAssIP0i4pk69f+ODY SyxJTji47Ph3YNjNDwQOBWWadwACeYBaig9cthN37n8RfpVAZIwzstN6j/JWmkRXhNwp QaMncnodXkhKZpe7uWmdjPIr13bYAr7Lcz9sKNAMFoF4JJLiAotnPt7d0pewYPtV/UmK LEvhKSAFnqAIgPPTZLMLSuisE0CjPqE/GlRyJOxzpNGyHvgUNF1RbSYQLbZrL8jKk7Nj sH/3YZ8K6bIbaOXToPZu5w7NZmt182SkOv+COplN++FRb2l6wOAgb61xMdz56A8XxpaH aLWA== 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=Tn19CGCpCdau3W/VZavQRk1vzNxdqS823UYMPdxtm78=; fh=J83YV8vndWGzjIPm6Iu6dz78gOCoq3dFgn14nFnXtrc=; b=zMUgKV7jPA3eFfs0TpICOcdErSzhvNfGqT2fjMNLa1StfyGQnQCHBYiuQTbD60mYoi hEPXWi7n4U3bqfhljTR96sSBfQU3Z6Il3RkMKT4Rs+1Dm2RFxRQpHqyUiyikOXgUjaG7 okoC2yB/KryOLY4x3WvvcI74g3Koe3yZDRsVzf7RkNhIHt6TvWdAWxqpxOVVpc+hvP9K qkXLIsDy7FLpJHv11TnRrsUHOTDlxjyme2gGdVn8CNDn8wSby7X9q5bpXmvoj2LKlm4X SuKEc3X9ZT1Q+xJnIjaBK5qUV3adN6CkkldEZaE5RxLeEdTnR3lV7OWajhGqT8ZuVE6W d3HQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=VsxPCu82; 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-181958-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181958-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2a72728si3463175b3a.15.2024.05.17.02.52.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 02:52:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181958-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=VsxPCu82; 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-181958-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181958-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4D27F2810CC for ; Fri, 17 May 2024 09:52:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5E7CA2E639; Fri, 17 May 2024 09:51:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (4096-bit key) header.d=alien8.de header.i=@alien8.de header.b="VsxPCu82" 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 EAE252E652 for ; Fri, 17 May 2024 09:51:39 +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=1715939502; cv=none; b=blISEIiGXXdOBJlF2avsRoOKcJW4G0oLYMWfHb2k94MDVSj0SLPyVouYbCDoxppbfHv1KScPNdHz+z9ZJgEDiIEAd6mUJcSU1uC/5JgFwCEzDz4n96D60/7i0I677LAX75HyppldrmF/d8svkRUbt4dw/vU853r9w+6ejC9bv14= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715939502; c=relaxed/simple; bh=KNh+720Wgwh8m9JIhESist1X1saR8CCo7u3IGLKkC4A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AombeS7CZrpQ5eniwtvWtzSSCrN4oupQTzTVT8ZejqMZRnJtJ88NT/eptAX6VXUyccO6XpCk0GH//jWXo19VMvra3kb2hlB4S8TK/d/X8mYM1Ju39Mt1AHCk73LFL1RBkmOi00q6gV+GSLNrr5TFmolR/xaf6RlM/Fjst2DUrv0= 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=VsxPCu82; 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 D520640E023A; Fri, 17 May 2024 09:51:31 +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 z1P4H5KTAb_M; Fri, 17 May 2024 09:51:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1715939488; bh=Tn19CGCpCdau3W/VZavQRk1vzNxdqS823UYMPdxtm78=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VsxPCu826x6OJ5zXBP9Y1SK4oeTmhoXkcLWgCKbCAMbYbstfkLuXfIYXFcKumfJPc LwHb7KT9srjLqiqyF48cefYqs1kxnpJWRlFM6QjAkpT/yg1+L2BRtALQOk/kdORhx5 safrlHubHttQgV6i3FygkKjfsbBqodIdferr8pc4gLJrSaWjjvQO+p+sp7xXN+8Oi9 Admwy2sXu0y/YRQq7DnBYKHpLQJ81hfnoI9YrLN2sov4ndVaVopAwCFavscPXhQrq6 J2nUy4wgANjobnNmN1YJXWz1wmdX9bnEuYTba8qqHWu1Po/RbDs81AmKalz9kNsitt lqt+P8FF4296Sa54BKHsZatpKFh1i6eUlmbMnOjpNddBddqOnKA/uIvPADyvWCaqp5 A9bbqifeoC8wChN39d+AQ/Df3xdq3vyY4CTS07Az4iQPGI9b+dx5VqOfYg0mog+Sgz s6BG4VXU4wPxceI7hRsXBH7U9dEHFpyOBBqxQbAPdZmAR/Sg1qN0tAwO+Rt8UpfSp+ s10tvZpAflIdT9gVni5vCB0q0yLJM0t5RZ2vM33VekQo/ypq5NakJiVL6RPwmV+9Gv IZm+3Rh8pwoaomM10OhmiMwGa+S7P0von8C+B4dic+SoHfYLKeXpxF5y+VM+hQ3foE 9yamcT2+mXy4janDcmN7T+yI= 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 5094A40E016A; Fri, 17 May 2024 09:51:17 +0000 (UTC) Date: Fri, 17 May 2024 11:51:10 +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 Subject: Re: [PATCH] x86/boot: Address clang -Wimplicit-fallthrough in vsprintf() Message-ID: <20240517095110.GAZkcojmJQoY_zU-OT@fat_crate.local> References: <20240516-x86-boot-fix-clang-implicit-fallthrough-v1-1-04dc320ca07c@kernel.org> 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: <20240516-x86-boot-fix-clang-implicit-fallthrough-v1-1-04dc320ca07c@kernel.org> On Thu, May 16, 2024 at 07:03:41AM -0700, Nathan Chancellor wrote: > After enabling -Wimplicit-fallthrough for the x86 boot code, clang > warns: > > arch/x86/boot/printf.c:257:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] > 257 | case 'u': > | ^ > > Clang is a little more pedantic than GCC, which does not warn when > falling through to a case that is just break or return. Is anyone fixing Clang? :-P -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette