* [PATCH v2] riscv: remove unused header
@ 2023-12-12 0:20 tanzirh
2023-12-12 16:56 ` Nick Desaulniers
2024-04-10 14:10 ` patchwork-bot+linux-riscv
0 siblings, 2 replies; 3+ messages in thread
From: tanzirh @ 2023-12-12 0:20 UTC (permalink / raw)
To: Paul Walmsley, Palmer Dabbelt, Albert Ou
Cc: linux-riscv, linux-kernel, Nick Desaulniers, Tanzir Hasan
arch/riscv/kernel/sys_riscv.c builds without using anything
from asm-generic/mman-common.h. There seems to be no reason
to include this file.
Signed-off-by: Tanzir Hasan <tanzirh@google.com>
---
---
Changes in v2:
- Changed name to riscv: remove unused header
- Link to v1: https://lore.kernel.org/r/20231211-removeasmgeneric-v1-1-a0274e802789@google.com
---
arch/riscv/kernel/sys_riscv.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/riscv/kernel/sys_riscv.c b/arch/riscv/kernel/sys_riscv.c
index a2ca5b7756a5..ebcaf386ea62 100644
--- a/arch/riscv/kernel/sys_riscv.c
+++ b/arch/riscv/kernel/sys_riscv.c
@@ -14,7 +14,6 @@
#include <asm/switch_to.h>
#include <asm/uaccess.h>
#include <asm/unistd.h>
-#include <asm-generic/mman-common.h>
#include <vdso/vsyscall.h>
static long riscv_sys_mmap(unsigned long addr, unsigned long len,
---
base-commit: a39b6ac3781d46ba18193c9dbb2110f31e9bffe9
change-id: 20231211-removeasmgeneric-f6be13a42b6b
Best regards,
--
Tanzir Hasan <tanzirh@google.com>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] riscv: remove unused header
2023-12-12 0:20 [PATCH v2] riscv: remove unused header tanzirh
@ 2023-12-12 16:56 ` Nick Desaulniers
2024-04-10 14:10 ` patchwork-bot+linux-riscv
1 sibling, 0 replies; 3+ messages in thread
From: Nick Desaulniers @ 2023-12-12 16:56 UTC (permalink / raw)
To: tanzirh
Cc: Paul Walmsley, Palmer Dabbelt, Albert Ou, linux-riscv,
linux-kernel, Nick Desaulniers
On Mon, Dec 11, 2023 at 4:20 PM <tanzirh@google.com> wrote:
>
> arch/riscv/kernel/sys_riscv.c builds without using anything
> from asm-generic/mman-common.h. There seems to be no reason
> to include this file.
>
> Signed-off-by: Tanzir Hasan <tanzirh@google.com>
Thanks for the patch!
Fixes: 9e2e6042a7ec ("riscv: Allow PROT_WRITE-only mmap()")
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
> ---
>
> ---
You're still getting funky extra `---`; let's take a look later at how
you're using `b4` together offline. It's not a problem for me to
apply the patch, but something still isn't quite right. (Do not send a
v3 over this)
> Changes in v2:
> - Changed name to riscv: remove unused header
> - Link to v1: https://lore.kernel.org/r/20231211-removeasmgeneric-v1-1-a0274e802789@google.com
> ---
> arch/riscv/kernel/sys_riscv.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/riscv/kernel/sys_riscv.c b/arch/riscv/kernel/sys_riscv.c
> index a2ca5b7756a5..ebcaf386ea62 100644
> --- a/arch/riscv/kernel/sys_riscv.c
> +++ b/arch/riscv/kernel/sys_riscv.c
> @@ -14,7 +14,6 @@
> #include <asm/switch_to.h>
> #include <asm/uaccess.h>
> #include <asm/unistd.h>
> -#include <asm-generic/mman-common.h>
> #include <vdso/vsyscall.h>
>
> static long riscv_sys_mmap(unsigned long addr, unsigned long len,
>
> ---
> base-commit: a39b6ac3781d46ba18193c9dbb2110f31e9bffe9
> change-id: 20231211-removeasmgeneric-f6be13a42b6b
>
> Best regards,
> --
> Tanzir Hasan <tanzirh@google.com>
>
--
Thanks,
~Nick Desaulniers
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] riscv: remove unused header
2023-12-12 0:20 [PATCH v2] riscv: remove unused header tanzirh
2023-12-12 16:56 ` Nick Desaulniers
@ 2024-04-10 14:10 ` patchwork-bot+linux-riscv
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+linux-riscv @ 2024-04-10 14:10 UTC (permalink / raw)
To: Tanzir Hasan; +Cc: linux-riscv, paul.walmsley, palmer, aou, linux-kernel, nnn
Hello:
This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <palmer@rivosinc.com>:
On Tue, 12 Dec 2023 00:20:14 +0000 you wrote:
> arch/riscv/kernel/sys_riscv.c builds without using anything
> from asm-generic/mman-common.h. There seems to be no reason
> to include this file.
>
> Signed-off-by: Tanzir Hasan <tanzirh@google.com>
> ---
>
> [...]
Here is the summary with links:
- [v2] riscv: remove unused header
https://git.kernel.org/riscv/c/84c3a079ab98
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:[~2024-04-10 14:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-12 0:20 [PATCH v2] riscv: remove unused header tanzirh
2023-12-12 16:56 ` Nick Desaulniers
2024-04-10 14:10 ` 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