From patchwork Sat Jul 5 03:20:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick X-Patchwork-Id: 4486131 Return-Path: X-Original-To: patchwork-linux-parisc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 57F9ABEEAA for ; Sat, 5 Jul 2014 03:21:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 98818203EB for ; Sat, 5 Jul 2014 03:21:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C7F7F203E3 for ; Sat, 5 Jul 2014 03:21:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754067AbaGEDVE (ORCPT ); Fri, 4 Jul 2014 23:21:04 -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 Received: by mail-ie0-f171.google.com with SMTP id x19so2027065ier.2 for ; Fri, 04 Jul 2014 20:21:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=3F3xpzn0ZPBePTVIMxcmjv+EycWZkifySMnxdrbjDIA=; b=mz/X573TZF331SMAarhiqlZZ74pot8SWUW/KaWFh+txjp6Nu470IhMtrUSzx1n5c3f Q8K+CgglF+7UZQFu1vxwoauVD9X4nujvufgCu/7O8kSo2Q0EIp4UW2z9Np/dysXumhcc 33+JAkT8Zu+6jQzcgG7/fhyb0fXqVjfg734Os7gEhcgJJCBPm2spnu1owuDRJb9stw1I WYS3+e6baBmIuTyRVcuV2t44TgPzKCAqztKB7KyfvY1WK/IwXVCCG4tUigyR5lKkef9Y GjXmbv8vpAksDxhzGMLm+QVrJ3ILrOZJvrO4B8f/g1oEP34HhzMPeR781k48Qt2LuHjZ D5MQ== X-Received: by 10.42.80.81 with SMTP id u17mr51116ick.64.1404530462030; Fri, 04 Jul 2014 20:21:02 -0700 (PDT) Received: from nick-System-Product-Name.phub.net.cable.rogers.com (CPE0026f3330aca-CM0026f3330ac6.cpe.net.cable.rogers.com. [99.232.64.167]) by mx.google.com with ESMTPSA id t1sm67855141igh.9.2014.07.04.20.21.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 Jul 2014 20:21:01 -0700 (PDT) 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-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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);