public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] avr32: Fix build failure conflicting types for 'sys_execve'
@ 2010-12-08 23:19 Peter Huewe
  2010-12-09  7:54 ` Hans-Christian Egtvedt
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Peter Huewe @ 2010-12-08 23:19 UTC (permalink / raw)
  To: Hans-Christian Egtvedt
  Cc: David S. Miller, David Howells, Al Viro, devel, linux-kernel,
	stable, Peter Huewe

This patch fixes a build failure[1] for the avr32 architecture which seems
to be introduced by commit d7627467b7a8
"Make do_execve() take a const filename pointer"

The commit changes the definition in arch/avr32/kernel/process.c but
forgot to change it here.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
This build failure exists in linus' tree - added stable@kernel.org to the cc list

KernelVersion: linux-next-20101208
References:
[1] http://kisskb.ellerman.id.au/kisskb/buildresult/3607003/

 arch/avr32/include/asm/syscalls.h |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/avr32/include/asm/syscalls.h b/arch/avr32/include/asm/syscalls.h
index ab608b7..1440368 100644
--- a/arch/avr32/include/asm/syscalls.h
+++ b/arch/avr32/include/asm/syscalls.h
@@ -21,8 +21,10 @@ asmlinkage int sys_clone(unsigned long, unsigned long,
 			 unsigned long, unsigned long,
 			 struct pt_regs *);
 asmlinkage int sys_vfork(struct pt_regs *);
-asmlinkage int sys_execve(const char __user *, char __user *__user *,
-			  char __user *__user *, struct pt_regs *);
+asmlinkage int sys_execve(const char __user *ufilename,
+			  const char __user *const __user *uargv,
+			  const char __user *const __user *uenvp,
+			  struct pt_regs *regs);
 
 /* kernel/signal.c */
 asmlinkage int sys_sigaltstack(const stack_t __user *, stack_t __user *,
-- 
1.7.2.2


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

end of thread, other threads:[~2010-12-13 17:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-08 23:19 [PATCH] avr32: Fix build failure conflicting types for 'sys_execve' Peter Huewe
2010-12-09  7:54 ` Hans-Christian Egtvedt
2010-12-09 18:21 ` [stable] " Greg KH
2010-12-09 18:42   ` Peter Hüwe
2010-12-09 19:13     ` Greg KH
2010-12-09 21:15   ` [PATCH v2] " Peter Huewe
2010-12-10 10:25     ` Hans-Christian Egtvedt
2010-12-12 19:37       ` Peter Hüwe
2010-12-13  8:12         ` Hans-Christian Egtvedt
2010-12-13 17:12           ` Peter Hüwe
2010-12-13 17:27             ` Hans-Christian Egtvedt
2010-12-10 15:58 ` [PATCH] " David Howells

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