[PATCH] riscv/ptrace: add new regset to get original a0 register

Björn Töpel bjorn at kernel.org
Tue Dec 3 03:23:01 PST 2024


Celeste Liu <uwu at coelacanthus.name> writes:

>>> +static int riscv_orig_a0_get(struct task_struct *target,
>>> +			     const struct user_regset *regset,
>>> +			     struct membuf to)
>> 
>> Use full 100 chars!
>
> Linux code style prefer 80 limit.

No, it has been increased to 100, since many years [1].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/scripts/checkpatch.pl#n60



More information about the linux-riscv mailing list