[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <BY5PR11MB38939158FB1087F559A33713CC810@BY5PR11MB3893.namprd11.prod.outlook.com>
Date: Fri, 12 Jun 2020 06:19:04 +0000
From: "Tan, Ley Foon" <ley.foon.tan@...el.com>
To: "Gustavo A. R. Silva" <gustavoars@...nel.org>,
Christian Brauner <christian.brauner@...ntu.com>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>
Subject: RE: [PATCH] nios2: signal: Mark expected switch fall-through
> -----Original Message-----
> From: Gustavo A. R. Silva <gustavoars@...nel.org>
> Sent: Tuesday, June 9, 2020 1:37 AM
> To: Tan, Ley Foon <ley.foon.tan@...el.com>; Christian Brauner
> <christian.brauner@...ntu.com>
> Cc: linux-kernel@...r.kernel.org; Gustavo A. R. Silva
> <gustavo@...eddedor.com>
> Subject: [PATCH] nios2: signal: Mark expected switch fall-through
>
> Mark switch cases where we are expecting to fall through.
>
> Fix the following warning through the use of the new the new pseudo-
> keyword fallthrough;
>
> arch/nios2/kernel/signal.c:254:12: warning: this statement may fall through
> [-Wimplicit-fallthrough=]
> 254 | restart = -2;
> | ~~~~~~~~^~~~
> arch/nios2/kernel/signal.c:255:3: note: here
> 255 | case ERESTARTNOHAND:
> | ^~~~
>
> Reported-by: Christian Brauner <christian.brauner@...ntu.com>
> Signed-off-by: Gustavo A. R. Silva <gustavoars@...nel.org>
> ---
Acked-by: Ley Foon Tan <ley.foon.tan@...el.com>
Will merge to coming release.
Thanks.
Regards
Ley Foon
Powered by blists - more mailing lists