All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] RISC-V: Remove unused "size" in ptrace
@ 2023-08-30 20:37 Palmer Dabbelt
  2023-08-31 16:31 ` Conor Dooley
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Palmer Dabbelt @ 2023-08-30 20:37 UTC (permalink / raw)
  To: andy.chiu; +Cc: linux-riscv, Palmer Dabbelt, kernel test robot

Looks like this just got lost somewhere in the respins.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308310306.tOrkoBmI-lkp@intel.com/
Fixes: dbe46b094026 ("RISC-V: Add ptrace support for vectors")
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
---
 arch/riscv/kernel/ptrace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/kernel/ptrace.c b/arch/riscv/kernel/ptrace.c
index 9a87e5d490b5..2afe460de16a 100644
--- a/arch/riscv/kernel/ptrace.c
+++ b/arch/riscv/kernel/ptrace.c
@@ -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;
 
-- 
2.41.0


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

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

end of thread, other threads:[~2023-08-31 22:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-30 20:37 [PATCH] RISC-V: Remove unused "size" in ptrace Palmer Dabbelt
2023-08-31 16:31 ` Conor Dooley
2023-08-31 17:19 ` Nick Desaulniers
2023-08-31 17:19   ` Nick Desaulniers
2023-08-31 21:58 ` Palmer Dabbelt
2023-08-31 22:02   ` Palmer Dabbelt
2023-08-31 22:00 ` patchwork-bot+linux-riscv

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.