From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760428AbaGEDVF (ORCPT ); Fri, 4 Jul 2014 23:21:05 -0400 Received: from mail-ie0-f171.google.com ([209.85.223.171]:53954 "EHLO mail-ie0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753996AbaGEDVD (ORCPT ); Fri, 4 Jul 2014 23:21:03 -0400 From: Nicholas Krause 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 Message-Id: <1404530457-4739-1-git-send-email-xerofoify@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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