[PATCH] powerpc/spe: Mark expected switch fall-throughs
Michael Ellerman
patch-notifications at ellerman.id.au
Fri Aug 2 12:28:23 AEST 2019
On Tue, 2019-07-30 at 14:19:17 UTC, Michael Ellerman wrote:
> Mark switch cases where we are expecting to fall through.
>
> Fixes errors such as below, seen with mpc85xx_defconfig:
>
> arch/powerpc/kernel/align.c: In function 'emulate_spe':
> arch/powerpc/kernel/align.c:178:8: error: this statement may fall through
> ret |= __get_user_inatomic(temp.v[3], p++);
> ^~
>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
Applied to powerpc fixes.
https://git.kernel.org/powerpc/c/7db57e77586744af46c8bbf8f831bb2b941b7afc
cheers
More information about the Linuxppc-dev
mailing list