mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] riscv: vdso: include vdso/vsyscall.h for vdso_data
@ 2023-06-16 11:43 Ben Dooks
  2023-07-04 15:22 ` Palmer Dabbelt
  2023-07-04 15:30 ` patchwork-bot+linux-riscv
  0 siblings, 2 replies; 3+ messages in thread
From: Ben Dooks @ 2023-06-16 11:43 UTC (permalink / raw)
  To: linux-riscv; +Cc: linux-kernel, 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?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
 arch/riscv/kernel/vdso.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/riscv/kernel/vdso.c b/arch/riscv/kernel/vdso.c
index 9a68e7eaae4d..2cf76218a5bd 100644
--- a/arch/riscv/kernel/vdso.c
+++ b/arch/riscv/kernel/vdso.c
@@ -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,
-- 
2.39.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] riscv: vdso: include vdso/vsyscall.h for vdso_data
  2023-06-16 11:43 [PATCH] riscv: vdso: include vdso/vsyscall.h for vdso_data Ben Dooks
@ 2023-07-04 15:22 ` Palmer Dabbelt
  2023-07-04 15:30 ` patchwork-bot+linux-riscv
  1 sibling, 0 replies; 3+ messages in thread
From: Palmer Dabbelt @ 2023-07-04 15:22 UTC (permalink / raw)
  To: linux-riscv, Ben Dooks; +Cc: linux-kernel


On Fri, 16 Jun 2023 12:43:57 +0100, Ben Dooks 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?
> 
> 

Applied, thanks!

[1/1] riscv: vdso: include vdso/vsyscall.h for vdso_data
      https://git.kernel.org/palmer/c/54cdede08f2f

Best regards,
-- 
Palmer Dabbelt <palmer@rivosinc.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] riscv: vdso: include vdso/vsyscall.h for vdso_data
  2023-06-16 11:43 [PATCH] riscv: vdso: include vdso/vsyscall.h for vdso_data Ben Dooks
  2023-07-04 15:22 ` Palmer Dabbelt
@ 2023-07-04 15:30 ` patchwork-bot+linux-riscv
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+linux-riscv @ 2023-07-04 15:30 UTC (permalink / raw)
  To: Ben Dooks; +Cc: linux-riscv, linux-kernel

Hello:

This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@rivosinc.com>:

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?
> 
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> 
> [...]

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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-04 15:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-16 11:43 [PATCH] riscv: vdso: include vdso/vsyscall.h for vdso_data Ben Dooks
2023-07-04 15:22 ` Palmer Dabbelt
2023-07-04 15:30 ` patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®