From: Nicholas Krause <xerofoify@gmail.com>
To: jejb@parisc-linux.org
Cc: deller@gmx.de, tiwai@suse.de, jkosina@suse.cz,
dave.anglin@bell.net, joe@perches.com,
linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] parisc: Remove sizeof(frame) from call to get_sigframe
Date: Fri, 4 Jul 2014 23:20:57 -0400 [thread overview]
Message-ID: <1404530457-4739-1-git-send-email-xerofoify@gmail.com> (raw)
This removes the sizeof(frame) from the call to get_sigframe on line
243 in order to fix the call to this function as the sizeof in not
needed to call this function.
Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
---
arch/parisc/kernel/signal.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c
index 1cba8f2..3b7caac 100644
--- a/arch/parisc/kernel/signal.c
+++ b/arch/parisc/kernel/signal.c
@@ -240,8 +240,7 @@ setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
#endif
usp = (regs->gr[30] & ~(0x01UL));
- /*FIXME: frame_size parameter is unused, remove it. */
- frame = get_sigframe(ka, usp, sizeof(*frame));
+ frame = get_sigframe(ka, usp)
DBG(1,"SETUP_RT_FRAME: START\n");
DBG(1,"setup_rt_frame: frame %p info %p\n", frame, info);
--
1.9.1
next reply other threads:[~2014-07-05 3:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-05 3:20 Nicholas Krause [this message]
2014-07-05 3:58 ` [PATCH] parisc: Remove sizeof(frame) from call to get_sigframe Joe Perches
2014-07-05 4:01 ` Nick Krause
2014-07-07 12:55 ` One Thousand Gnomes
2014-07-07 13:05 ` Jiri Kosina
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=1404530457-4739-1-git-send-email-xerofoify@gmail.com \
--to=xerofoify@gmail.com \
--cc=dave.anglin@bell.net \
--cc=deller@gmx.de \
--cc=jejb@parisc-linux.org \
--cc=jkosina@suse.cz \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-parisc@vger.kernel.org \
--cc=tiwai@suse.de \
/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