Skip to contentSkip to conversation

riscv: vdso: include vdso/vsyscall.h for vdso_data

PATCH Applied Ben Dooks 3 participants 3 messages Jun 16, 2023 – Jul 4, 2023 RISC-V

lore
Share & tools
lore

Ben Dooks

author
#0 lore raw

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
index 9a68e7eaae4d..2cf76218a5bd 100644
@@ -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
#1 lore raw
Quoted 6 lines · Ben Dooks

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?

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]>
#2 lore raw
In reply to Ben Dooks
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 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?

[...]

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