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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D8DAC4332F for ; Fri, 14 Oct 2022 13:53:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230101AbiJNNxc (ORCPT ); Fri, 14 Oct 2022 09:53:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229986AbiJNNxP (ORCPT ); Fri, 14 Oct 2022 09:53:15 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFF6C1D065E; Fri, 14 Oct 2022 06:52:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 38362B82349; Fri, 14 Oct 2022 13:52:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A16EC433D6; Fri, 14 Oct 2022 13:52:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665755560; bh=/XWebppsCRLIWrDwU0CfCo7fYTn2UiwKuoTYFPqeths=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D69unZrMH86jcnjV9o7Ftq6s9viAh0ObLF5yZiSDki67lAcYFqm1/y+5HLWOQvBKN rikS+FoBLJKVMFUCISKK9U5mdMMrCZ79cDakcFcuP+3TOOAv+QKve5HqDw4qcb8asH WmgYmzdON9llMNRAxKNU9xnCbdicQqVZyhawsgvJz6UglIG0oYpFwY4YogFaYee6ho MtKPzPj/T9xUokI1SRQgKt/jaEYhhUEihgZVBhbu94CojF/GdlSlpONGehGB6dNAy/ YUirMR688lS4fueVXXdn3l/UgNHPEHW8f8107F5vQAstoBLpBrLPHM+vqFQMI9pv2g pfmXtgfP5lYiA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: "Gustavo A. R. Silva" , kernel test robot , Kees Cook , Michael Ellerman , Sasha Levin , oss@buserror.net, nathan@kernel.org, ndesaulniers@google.com, christophe.leroy@csgroup.eu, joel@jms.id.au, nick.child@ibm.com, Julia.Lawall@inria.fr, linuxppc-dev@lists.ozlabs.org, llvm@lists.linux.dev Subject: [PATCH AUTOSEL 5.19 05/10] powerpc/85xx: Fix fall-through warning for Clang Date: Fri, 14 Oct 2022 09:52:16 -0400 Message-Id: <20221014135222.2109334-5-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20221014135222.2109334-1-sashal@kernel.org> References: <20221014135222.2109334-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Gustavo A. R. Silva" [ Upstream commit d4d944ff68cb1f896d3f3b1af0bc656949dc626a ] Fix the following fallthrough warning: arch/powerpc/platforms/85xx/mpc85xx_cds.c:161:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] Reported-by: kernel test robot Signed-off-by: Gustavo A. R. Silva Reviewed-by: Kees Cook Signed-off-by: Michael Ellerman Link: https://github.com/KSPP/linux/issues/198 Link: https://lore.kernel.org/lkml/202209061224.KxORRGVg-lkp@intel.com/ Link: https://lore.kernel.org/r/Yxe8XTY5C9qJLd0Z@work Signed-off-by: Sasha Levin --- arch/powerpc/platforms/85xx/mpc85xx_cds.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/85xx/mpc85xx_cds.c b/arch/powerpc/platforms/85xx/mpc85xx_cds.c index 48f3acfece0b..0b8f2101c5fb 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c @@ -159,6 +159,7 @@ static void __init mpc85xx_cds_pci_irq_fixup(struct pci_dev *dev) else dev->irq = 10; pci_write_config_byte(dev, PCI_INTERRUPT_LINE, dev->irq); + break; default: break; } -- 2.35.1