riscv: remove unused header
PATCH v2 1/1 riscv: remove unused header
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.
---
---
Changes in v2:
- Changed name to riscv: remove unused header
- Link to v1: https://lore.kernel.org/r/[email protected]
--- arch/riscv/kernel/sys_riscv.c | 1 - 1 file changed, 1 deletion(-)
arch/riscv/kernel/sys_riscv.c +0 -1
@@ -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,
Signature · 1 line
Tanzir Hasan <[email protected]>
Quoted 6 lines · On Mon, Dec 11, 2023 at 4:20 PM <[email protected]> wrote:
arch/riscv/kernel/sys_riscv.cbuilds without using anything fromasm-generic/mman-common.h. There seems to be no reason to include this file.Signed-off-by Tanzir Hasan <[email protected]>
Thanks for the patch!
Quoted 3 lines
---
---
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)
Quoted 28 lines
Changes in v2:
- Changed name to riscv: remove unused header
- Link to v1: https://lore.kernel.org/r/[email protected]--- arch/riscv/kernel/sys_riscv.c | 1 - 1 file changed, 1 deletion(-)arch/riscv/kernel/sys_riscv.c +0
-2@@ -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-f6be13a42b6bBest regards,
--
Tanzir Hasan <[email protected]>
Signature · 7 lines
Thanks, ~Nick Desaulniers _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv
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 Tue, 12 Dec 2023 00:20:14 +0000 you wrote:
arch/riscv/kernel/sys_riscv.cbuilds without using anything fromasm-generic/mman-common.h. There seems to be no reason to include this file.Signed-off-by Tanzir Hasan <[email protected]>---
[...]
Here is the summary with links:
- [v2] riscv: remove unused header
https://git.kernel.org/riscv/c/84c3a079ab98
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html