From: Christos Gkekas <chris.gekas@gmail.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] signal: remove unused variable
Date: Thu, 14 Sep 2017 08:36:05 +0100 [thread overview]
Message-ID: <20170914073605.GA3186@inspiron> (raw)
In-Reply-To: <20170911200347.3219238-1-arnd@arndb.de>
On 11/09/17 22:03:37 +0200, Arnd Bergmann wrote:
> The get_compat_sigset() cleanup missed a variable that is now unused:
>
> kernel/signal.c: In function 'C_SYSC_rt_sigaction':
> kernel/signal.c:3443:19: error: unused variable 'mask' [-Werror=unused-variable]
>
> Fixes: 9b24ec57688a ("get_compat_sigset()")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> kernel/signal.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/kernel/signal.c b/kernel/signal.c
> index 3198a7d2e5ff..36a523640894 100644
> --- a/kernel/signal.c
> +++ b/kernel/signal.c
> @@ -3440,7 +3440,6 @@ COMPAT_SYSCALL_DEFINE4(rt_sigaction, int, sig,
>
> if (act) {
> compat_uptr_t handler;
> - compat_sigset_t mask;
> ret = get_user(handler, &act->sa_handler);
> new_ka.sa.sa_handler = compat_ptr(handler);
> #ifdef __ARCH_HAS_SA_RESTORER
> --
> 2.9.0
>
Thanks,
Acked-by: Christos Gkekas <chris.gekas@gmail.com>
next prev parent reply other threads:[~2017-09-14 7:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-11 20:03 [PATCH] signal: remove unused variable Arnd Bergmann
2017-09-14 7:36 ` Christos Gkekas [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-09-14 2:44 Dmitry V. Levin
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=20170914073605.GA3186@inspiron \
--to=chris.gekas@gmail.com \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.