[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87lfez35t3.fsf@mpe.ellerman.id.au>
Date: Wed, 18 Nov 2020 10:46:32 +1100
From: Michael Ellerman <mpe@...erman.id.au>
To: Nick Desaulniers <ndesaulniers@...gle.com>,
"Gustavo A . R . Silva" <gustavoars@...nel.org>,
Nathan Chancellor <natechancellor@...il.com>,
Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
clang-built-linux@...glegroups.com, linuxppc-dev@...ts.ozlabs.org,
linux-kernel@...r.kernel.org,
Nick Desaulniers <ndesaulniers@...gle.com>
Subject: Re: [PATCH 3/3] powerpc: fix -Wimplicit-fallthrough
Nick Desaulniers <ndesaulniers@...gle.com> writes:
> The "fallthrough" pseudo-keyword was added as a portable way to denote
> intentional fallthrough. Clang will still warn on cases where there is a
> fallthrough to an immediate break. Add explicit breaks for those cases.
>
> Link: https://github.com/ClangBuiltLinux/linux/issues/236
> Signed-off-by: Nick Desaulniers <ndesaulniers@...gle.com>
> ---
> arch/powerpc/kernel/prom_init.c | 1 +
> arch/powerpc/kernel/uprobes.c | 1 +
> arch/powerpc/perf/imc-pmu.c | 1 +
> 3 files changed, 3 insertions(+)
Acked-by: Michael Ellerman <mpe@...erman.id.au>
cheers
Powered by blists - more mailing lists