[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
<CH3PR02MB10247D71B45A21D9785091A6BB86F2@CH3PR02MB10247.namprd02.prod.outlook.com>
Date: Mon, 23 Sep 2024 15:14:06 +0000
From: Brian Cain <bcain@...cinc.com>
To: Guenter Roeck <linux@...ck-us.net>
CC: "linux-hexagon@...r.kernel.org" <linux-hexagon@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Linus Torvalds
<torvalds@...ux-foundation.org>,
Sid Manning <sidneym@...cinc.com>,
Nathan
Chancellor <nathan@...nel.org>
Subject: RE: [PATCH] hexagon: vdso: Fix build failure
> -----Original Message-----
> From: Guenter Roeck <groeck7@...il.com> On Behalf Of Guenter Roeck
> Sent: Monday, September 23, 2024 8:53 AM
> To: Brian Cain <bcain@...cinc.com>
> Cc: linux-hexagon@...r.kernel.org; linux-kernel@...r.kernel.org; Guenter
> Roeck <linux@...ck-us.net>; Linus Torvalds <torvalds@...ux-foundation.org>
> Subject: [PATCH] hexagon: vdso: Fix build failure
>
> WARNING: This email originated from outside of Qualcomm. Please be wary of
> any links or attachments, and do not enable macros.
>
> 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 <torvalds@...ux-foundation.org>
> Signed-off-by: Guenter Roeck <linux@...ck-us.net>
> ---
Reviewed-by: Brian Cain <bcain@...cinc.com>
> arch/hexagon/kernel/vdso.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/hexagon/kernel/vdso.c b/arch/hexagon/kernel/vdso.c
> index 6fd27ff1df73..8119084dc519 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))
> --
> 2.45.2
>
Powered by blists - more mailing lists