From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-20.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27CD7C12002 for ; Wed, 21 Jul 2021 15:23:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 06E8461245 for ; Wed, 21 Jul 2021 15:23:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239809AbhGUOml (ORCPT ); Wed, 21 Jul 2021 10:42:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:34460 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239510AbhGUOmf (ORCPT ); Wed, 21 Jul 2021 10:42:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 751B761244; Wed, 21 Jul 2021 15:23:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626880991; bh=Uq8RegiTiFFlvPPR3xFmNGqgN5QCZVi7GNDBgvrHvpc=; h=From:To:Cc:Subject:Date:From; b=PPujmvNZzVwUpu36V5BazOdj/YVcmfmAD4FCDwo2Bcp8IkQi/FAv3CQLcmi97J8dh O3bL8yiKsV78d2OsnDADbunuOfXLjSuts3Q+kR9h/gNpYPJddNt3aCuPT0KD8L0dMz HD0tsvkkBXgRsPVXlpaGmrGTg6WOXoz2mOYzaYldV97Rud5utCoAJbeNTJwhGohWhG EXVwFo6OavjXzehNjDU5lCtb24LO1sDTwsQuOe0lTGgqYwjluNTzFYJUc+x8B8r4v+ qMuSR15mIG0vItSGxzUtIT4GtXaTlvPtgx3rmJNrV7uNNZjvobnfWfbUR8PmuPeRg4 Nuf1PqP7HcxQQ== From: Arnd Bergmann To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org Cc: Arnd Bergmann , "H. Peter Anvin" , linux-kernel@vger.kernel.org Subject: [PATCH] x86: boot: add a missing fallthrough statement Date: Wed, 21 Jul 2021 17:23:02 +0200 Message-Id: <20210721152308.2785319-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann This instance seems to have slipped through the mass conversions to the fallthrough keyword: arch/x86/boot/printf.c:248:31: error: this statement may fall through [-Werror=implicit-fallthrough=] Signed-off-by: Arnd Bergmann --- arch/x86/boot/printf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/boot/printf.c b/arch/x86/boot/printf.c index 1237beeb9540..c0ec1dc355ab 100644 --- a/arch/x86/boot/printf.c +++ b/arch/x86/boot/printf.c @@ -246,6 +246,7 @@ int vsprintf(char *buf, const char *fmt, va_list args) case 'x': flags |= SMALL; + fallthrough; case 'X': base = 16; break; -- 2.29.2