From patchwork Fri Dec 28 20:28:09 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 1917351 Return-Path: X-Original-To: patchwork-linux-parisc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 2439EDF215 for ; Fri, 28 Dec 2012 20:28:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754004Ab2L1U2S (ORCPT ); Fri, 28 Dec 2012 15:28:18 -0500 Received: from gerard.telenet-ops.be ([195.130.132.48]:46301 "EHLO gerard.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752501Ab2L1U2R (ORCPT ); Fri, 28 Dec 2012 15:28:17 -0500 Received: from ayla.of.borg ([84.193.72.141]) by gerard.telenet-ops.be with bizsmtp id h8UA1k00732ts5g0H8UAZA; Fri, 28 Dec 2012 21:28:15 +0100 Received: from geert by ayla.of.borg with local (Exim 4.71) (envelope-from ) id 1TogXK-00075e-9R; Fri, 28 Dec 2012 21:28:10 +0100 From: Geert Uytterhoeven To: "James E.J. Bottomley" , Helge Deller , Al Viro , linux-parisc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] parisc: Remove obsolete regs parameter from do_execve() in hpux_execve() Date: Fri, 28 Dec 2012 21:28:09 +0100 Message-Id: <1356726489-27229-1-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 1.7.0.4 Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org commit da3d4c5fa56236dd924d77ffc4f982356816b93b ("get rid of pt_regs argument of do_execve()") removed the parameter, but forgot to update hpux_execve(): arch/parisc/hpux/fs.c: In function 'hpux_execve': arch/parisc/hpux/fs.c:47:6: error: too many arguments to function 'do_execve' Signed-off-by: Geert Uytterhoeven --- http://kisskb.ellerman.id.au/kisskb/buildresult/7864854/ arch/parisc/hpux/fs.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/parisc/hpux/fs.c b/arch/parisc/hpux/fs.c index a0760b8..838b479 100644 --- a/arch/parisc/hpux/fs.c +++ b/arch/parisc/hpux/fs.c @@ -43,8 +43,7 @@ int hpux_execve(struct pt_regs *regs) error = do_execve(filename->name, (const char __user *const __user *) regs->gr[25], - (const char __user *const __user *) regs->gr[24], - regs); + (const char __user *const __user *) regs->gr[24]); putname(filename);