VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   35 Branches   59 Tags
author: David Howells <dhowells@redhat.com> 2010-08-17 23:52:56 +0100 committer: Linus Torvalds <torvalds@linux-foundation.org> 2010-08-17 18:07:43 -0700 commit: d7627467b7a8dd6944885290a03a07ceb28c10eb parent: da5cabf80e2433131bf0ed8993abc0f7ea618c73
Commit Summary:
Make do_execve() take a const filename pointer
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/fs/binfmt_script.c b/fs/binfmt_script.c
index aca9d55afb22..396a9884591f 100644
--- a/fs/binfmt_script.c
+++ b/fs/binfmt_script.c
@@ -16,7 +16,8 @@
 
 static int load_script(struct linux_binprm *bprm,struct pt_regs *regs)
 {
-	char *cp, *i_name, *i_arg;
+	const char *i_arg, *i_name;
+	char *cp;
 	struct file *file;
 	char interp[BINPRM_BUF_SIZE];
 	int retval;