riscv: vdso: include vdso/vsyscall.h for vdso_data
PATCH 1/1 riscv: vdso: include vdso/vsyscall.h for vdso_data
Add include of <vdso/vsyscall.h> to pull in the defition of vdso_data to remove the following sparse warning:
arch/riscv/kernel/vdso.c:39:18: warning: symbol 'vdso_data' was not declared. Should it be static?
--- arch/riscv/kernel/vdso.c | 1 + 1 file changed, 1 insertion(+)
arch/riscv/kernel/vdso.c +1 -0
@@ -15,6 +15,7 @@#include <asm/vdso.h> #include <linux/time_namespace.h> #include <vdso/datapage.h> +#include <vdso/vsyscall.h> enum vvar_pages {VVAR_DATA_PAGE_OFFSET ,
Signature · 7 lines
2.39.2 _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
Palmer Dabbelt
AppliedQuoted 6 lines · Ben Dooks
Add include of <
vdso/vsyscall.h> to pull in the defition ofvdso_datato remove the following sparse warning:
arch/riscv/kernel/vdso.c:39:18: warning: symbol 'vdso_data' was not declared. Should it be static?
Applied, thanks!
[1/1] riscv: vdso: include vdso/vsyscall.h for vdso_data
https://git.kernel.org/palmer/c/54cdede08f2f
Best regards,
Signature · 1 line
Palmer Dabbelt <[email protected]>
This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <[email protected]>:
Hello:
This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt <[email protected]>:
Quoted 8 lines · On Fri, 16 Jun 2023 12:43:57 +0100 you wrote:
Add include of <
vdso/vsyscall.h> to pull in the defition ofvdso_datato remove the following sparse warning:
arch/riscv/kernel/vdso.c:39:18: warning: symbol 'vdso_data' was not declared. Should it be static?Signed-off-by Ben Dooks <[email protected]>[...]
Here is the summary with links:
- riscv: vdso: include vdso/vsyscall.h for vdso_data
https://git.kernel.org/riscv/c/54cdede08f2f
You are awesome, thank you!
Signature · 9 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv