From: Sasha Levin <sashal@kernel.org>
To: linux-kernel@vger.kernel.org, stable@vger.kernel.org
Cc: Sasha Levin <sashal@kernel.org>,
nathan@kernel.org, Kees Cook <keescook@chromium.org>,
nick.child@ibm.com, llvm@lists.linux.dev,
ndesaulniers@google.com,
"Gustavo A. R. Silva" <gustavoars@kernel.org>,
oss@buserror.net, Julia.Lawall@inria.fr, joel@jms.id.au,
linuxppc-dev@lists.ozlabs.org, kernel test robot <lkp@intel.com>
Subject: [PATCH AUTOSEL 5.4 3/7] powerpc/85xx: Fix fall-through warning for Clang
Date: Fri, 14 Oct 2022 09:53:56 -0400 [thread overview]
Message-ID: <20221014135402.2109942-3-sashal@kernel.org> (raw)
In-Reply-To: <20221014135402.2109942-1-sashal@kernel.org>
From: "Gustavo A. R. Silva" <gustavoars@kernel.org>
[ 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 <lkp@intel.com>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
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 <sashal@kernel.org>
---
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 6b1436abe9b1..ee2e6906250c 100644
--- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c
+++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c
@@ -158,6 +158,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
next prev parent reply other threads:[~2022-10-14 14:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-14 13:53 [PATCH AUTOSEL 5.4 1/7] powerpc/selftests: Use timersub() for gettimeofday() Sasha Levin
2022-10-14 13:53 ` [PATCH AUTOSEL 5.4 2/7] powerpc/math-emu: Remove -w build flag and fix warnings Sasha Levin
2022-10-14 13:53 ` Sasha Levin [this message]
2022-10-14 13:53 ` [PATCH AUTOSEL 5.4 4/7] powerpc: Remove direct call to personality syscall handler Sasha Levin
2022-10-14 13:53 ` [PATCH AUTOSEL 5.4 5/7] powerpc/perf: Fix branch_filter support for multiple filters Sasha Levin
2022-10-14 13:53 ` [PATCH AUTOSEL 5.4 6/7] powerpc/mm: Fix UBSAN warning reported on hugetlb Sasha Levin
2022-10-14 13:54 ` [PATCH AUTOSEL 5.4 7/7] powerpc/64: Fix msr_check_and_set/clear MSR[EE] race Sasha Levin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221014135402.2109942-3-sashal@kernel.org \
--to=sashal@kernel.org \
--cc=Julia.Lawall@inria.fr \
--cc=gustavoars@kernel.org \
--cc=joel@jms.id.au \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=nick.child@ibm.com \
--cc=oss@buserror.net \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).