VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: David Howells <dhowells@redhat.com> 2006-07-10 04:44:50 -0700 committer: Linus Torvalds <torvalds@g5.osdl.org> 2006-07-10 13:24:21 -0700 commit: 1aeb21d626327ee909fef03f72aea6e8a60e6c0c parent: b6174df5eec9cdfd598c03d6d0807e344e109213
Commit Summary:
[PATCH] FDPIC: Fix FDPIC compile errors
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c
index eba4e23b9ca0..07624b95aee6 100644
--- a/fs/binfmt_elf_fdpic.c
+++ b/fs/binfmt_elf_fdpic.c
@@ -459,6 +459,7 @@ static int create_elf_fdpic_tables(struct linux_binprm *bprm,
 	 */
 	hwcap = ELF_HWCAP;
 	k_platform = ELF_PLATFORM;
+	u_platform = NULL;
 
 	if (k_platform) {
 		platform_len = strlen(k_platform) + 1;