[PATCH] RISC-V: Remove unused "size" in ptrace
Nick Desaulniers
ndesaulniers at google.com
Thu Aug 31 10:19:59 PDT 2023
On Wed, Aug 30, 2023 at 01:37:54PM -0700, Palmer Dabbelt wrote:
> Looks like this just got lost somewhere in the respins.
>
> Reported-by: kernel test robot <lkp at 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 at rivosinc.com>
Thanks for the patch!
Reviewed-by: Nick Desaulniers <ndesaulniers at google.com>
Reported-by: "kernelci.org bot" <bot at kernelci.org>
Closes: https://lore.kernel.org/linux-next/64f03ea1.170a0220.d3dbf.11fd@mx.google.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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
More information about the linux-riscv
mailing list