The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] parisc: Remove sizeof(frame) from call to get_sigframe
@ 2014-07-05  3:20 Nicholas Krause
  2014-07-05  3:58 ` Joe Perches
  2014-07-07 12:55 ` One Thousand Gnomes
  0 siblings, 2 replies; 5+ messages in thread
From: Nicholas Krause @ 2014-07-05  3:20 UTC (permalink / raw)
  To: jejb; +Cc: deller, tiwai, jkosina, dave.anglin, joe, linux-parisc,
	linux-kernel

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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-07-07 13:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-05  3:20 [PATCH] parisc: Remove sizeof(frame) from call to get_sigframe Nicholas Krause
2014-07-05  3:58 ` Joe Perches
2014-07-05  4:01   ` Nick Krause
2014-07-07 12:55 ` One Thousand Gnomes
2014-07-07 13:05   ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox