projects/linux·commit 9631042b

hexagon: vdso: Fix build failure

9631042b · Guenter Roeck <[email protected]> · 2024-09-23 06:52:35 -07:00

Hexagon images fail to build with the following error.

arch/hexagon/kernel/vdso.c:57:3: error: use of undeclared identifier 'name'
                name = "[vdso]",
                ^

Add the missing '.' to fix the problem.

Fixes: 497258dfafcc ("mm: remove legacy install_special_mapping() code")
Cc: Linus Torvalds <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Reviewed-by: Brian Cain <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
9631042b91c359f7f1eda8f30c0932ef90bc4089
Parents
d0dd066a

Changes

1 files changed · +1 −1

FileStatusAddDelContent
arch/hexagon/kernel/vdso.cmodified+1−1View file

arch/hexagon/kernel/vdso.c

View file
diff --git a/arch/hexagon/kernel/vdso.c b/arch/hexagon/kernel/vdso.c
index 6fd27ff..8119084 100644
--- a/arch/hexagon/kernel/vdso.c
+++ b/arch/hexagon/kernel/vdso.c
@@ -54,7 +54,7 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp)
struct vm_area_struct *vma;
struct mm_struct *mm = current->mm;
static struct vm_special_mapping vdso_mapping = {
- name = "[vdso]",
+ .name = "[vdso]",
};
if (mmap_write_lock_killable(mm))