Re: [PATCH] RISC-V: Fix PTRACE_SETREGSET bug.

From: Jim Wilson
Date: Mon Jun 11 2018 - 23:27:59 EST


On Mon, Jun 11, 2018 at 5:46 PM, Palmer Dabbelt <palmer@xxxxxxxxxx> wrote:
> Whoops, that's embarassing :). I poked around and didn't see this anywhere
> else, so I'm not sure where we managed to obtain this particular pathology.

Comment say it was copied from tile which I think was just recently
removed. But looking at older copy, tile has "struct pt_regs regs"
whereas riscv has "struct pt_regs *regs" and so tile needed the & and
riscv does not, but only one of the two ampersands was removed in the
riscv port. My patch removes the other one.

Jim