[PATCH] powerpc: 52xx: add fallthrough in mpc52xx_wdt_ioctl()

Michael Ellerman patch-notifications at ellerman.id.au
Fri Jun 18 13:51:28 AEST 2021


On Tue, 1 Jun 2021 12:02:00 -0700, trix at redhat.com wrote:
> With gcc 10.3, there is this compiler error
> compiler.h:56:26: error: this statement may
>   fall through [-Werror=implicit-fallthrough=]
> 
> mpc52xx_gpt.c:586:2: note: here
>   586 |  case WDIOC_GETTIMEOUT:
>       |  ^~~~
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc: 52xx: add fallthrough in mpc52xx_wdt_ioctl()
      https://git.kernel.org/powerpc/c/b629f6c0ab8668a186fda2627296d0cbcc45a368

cheers


More information about the Linuxppc-dev mailing list