Skip to contentSkip to conversation

RISC-V: Remove unused "size" in ptrace

PATCH Applied Palmer Dabbelt 4 participants 6 messages Aug 30, 2023 – Aug 31, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RISC-V: Remove unused "size" in ptrace

Looks like this just got lost somewhere in the respins.

Fixes dbe46b094026 ("RISC-V: Add ptrace support for vectors")
---
 arch/riscv/kernel/ptrace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kernel/ptrace.c +1 -1
index 9a87e5d490b5..2afe460de16a 100644
@@ -120,7 +120,7 @@ static int riscv_vr_set(struct task_struct *target,
 			unsigned int pos, unsigned int count,
 			const void *kbuf, const void __user *ubuf)
 {
-	int ret, size;
+	int ret;
 	struct __riscv_v_ext_state *vstate = &target->thread.vstate;
 	struct __riscv_v_regset_state ptrace_vstate;
 
Signature · 7 lines
2.41.0


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Palmer Dabbelt

Looks like this just got lost somewhere in the respins.

Fixes dbe46b094026 ("RISC-V: Add ptrace support for vectors")

Huh, wonder how the patchwork automation missed that. Probably as good a reminder as any to update the toolchains in use there.

Thanks,
Conor.

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv

Reviewed-by on v1 1/1
#2 lore raw
In reply to Palmer Dabbelt
Quoted 6 lines · Palmer Dabbelt

Looks like this just got lost somewhere in the respins.

Fixes dbe46b094026 ("RISC-V: Add ptrace support for vectors")

Thanks for the patch!

Quoted 25 lines
---
 arch/riscv/kernel/ptrace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kernel/ptrace.c +1 -1
index 9a87e5d490b5..2afe460de16a 100644
@@ -120,7 +120,7 @@ static int riscv_vr_set(struct task_struct *target,
 			unsigned int pos, unsigned int count,
 			const void *kbuf, const void __user *ubuf)
 {
-	int ret, size;
+	int ret;
 	struct __riscv_v_ext_state *vstate = &target->thread.vstate;
 	struct __riscv_v_regset_state ptrace_vstate;
 
Signature · 7 lines
2.41.0


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
#3 lore raw
In reply to Palmer Dabbelt
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 Wed, 30 Aug 2023 13:37:54 -0700 you wrote:

Looks like this just got lost somewhere in the respins.

Fixes dbe46b094026 ("RISC-V: Add ptrace support for vectors")

[...]

Here is the summary with links:
- RISC-V: Remove unused "size" in ptrace

    https://git.kernel.org/riscv/c/899230bac3b2

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
author Applied
#4 lore raw
In reply to Palmer Dabbelt
Quoted 3 lines · Palmer Dabbelt

Looks like this just got lost somewhere in the respins.

Applied, thanks!

[1/1] RISC-V: Remove unused "size" in ptrace

      https://git.kernel.org/palmer/c/899230bac3b2

Best regards,

Signature · 7 lines
Palmer Dabbelt <[email protected]>


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv
#5 lore raw
Quoted 7 lines · Palmer Dabbelt
Quoted 3 lines · Palmer Dabbelt

Looks like this just got lost somewhere in the respins.

Applied, thanks!

I'm just squashing it in, as the offending patch was pretty much tip of the tree.

Quoted 5 lines

[1/1] RISC-V: Remove unused "size" in ptrace

      https://git.kernel.org/palmer/c/899230bac3b2

Best regards,

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv