From: "Tan, Ley Foon" <ley.foon.tan@intel.com>
To: "Gustavo A. R. Silva" <gustavoars@kernel.org>,
Christian Brauner <christian.brauner@ubuntu.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Gustavo A. R. Silva" <gustavo@embeddedor.com>
Subject: RE: [PATCH] nios2: signal: Mark expected switch fall-through
Date: Fri, 12 Jun 2020 06:19:04 +0000 [thread overview]
Message-ID: <BY5PR11MB38939158FB1087F559A33713CC810@BY5PR11MB3893.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20200608173632.GA31741@embeddedor>
> -----Original Message-----
> From: Gustavo A. R. Silva <gustavoars@kernel.org>
> Sent: Tuesday, June 9, 2020 1:37 AM
> To: Tan, Ley Foon <ley.foon.tan@intel.com>; Christian Brauner
> <christian.brauner@ubuntu.com>
> Cc: linux-kernel@vger.kernel.org; Gustavo A. R. Silva
> <gustavo@embeddedor.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@ubuntu.com>
> Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
> ---
Acked-by: Ley Foon Tan <ley.foon.tan@intel.com>
Will merge to coming release.
Thanks.
Regards
Ley Foon
prev parent reply other threads:[~2020-06-12 6:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-08 17:36 [PATCH] nios2: signal: Mark expected switch fall-through Gustavo A. R. Silva
2020-06-12 6:19 ` Tan, Ley Foon [this message]
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=BY5PR11MB38939158FB1087F559A33713CC810@BY5PR11MB3893.namprd11.prod.outlook.com \
--to=ley.foon.tan@intel.com \
--cc=christian.brauner@ubuntu.com \
--cc=gustavo@embeddedor.com \
--cc=gustavoars@kernel.org \
--cc=linux-kernel@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).