* [PATCH] riscv: fix minor typo in syscall.h comment
@ 2026-01-19 7:14 Austin Kim
2026-01-24 7:55 ` Paul Walmsley
0 siblings, 1 reply; 3+ messages in thread
From: Austin Kim @ 2026-01-19 7:14 UTC (permalink / raw)
To: pjw, palmer, aou, alex; +Cc: linux-riscv, inux-kernel, austindh.kim
From: Austin Kim <austin.kim@lge.com>
Some developers may be confused because RISC-V does not have
a register named r0. Also, orig_r0 is not available in pt_regs structure,
which is specific to riscv. So we had better fix this minor typo.
Signed-off-by: Austin Kim <austin.kim@lge.com>
---
arch/riscv/include/asm/syscall.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/riscv/include/asm/syscall.h b/arch/riscv/include/asm/syscall.h
index 34313387f..8067e666a 100644
--- a/arch/riscv/include/asm/syscall.h
+++ b/arch/riscv/include/asm/syscall.h
@@ -20,7 +20,7 @@ extern void * const sys_call_table[];
extern void * const compat_sys_call_table[];
/*
- * Only the low 32 bits of orig_r0 are meaningful, so we return int.
+ * Only the low 32 bits of orig_a0 are meaningful, so we return int.
* This importantly ignores the high bits on 64-bit, so comparisons
* sign-extend the low 32 bits.
*/
--
2.34.1
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] riscv: fix minor typo in syscall.h comment
2026-01-19 7:14 [PATCH] riscv: fix minor typo in syscall.h comment Austin Kim
@ 2026-01-24 7:55 ` Paul Walmsley
2026-01-26 9:37 ` Austin Kim
0 siblings, 1 reply; 3+ messages in thread
From: Paul Walmsley @ 2026-01-24 7:55 UTC (permalink / raw)
To: Austin Kim; +Cc: pjw, palmer, aou, alex, linux-riscv, inux-kernel
On Mon, 19 Jan 2026, Austin Kim wrote:
> From: Austin Kim <austin.kim@lge.com>
>
> Some developers may be confused because RISC-V does not have
> a register named r0. Also, orig_r0 is not available in pt_regs structure,
> which is specific to riscv. So we had better fix this minor typo.
>
> Signed-off-by: Austin Kim <austin.kim@lge.com>
Thanks, queued for v6.20.
- Paul
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] riscv: fix minor typo in syscall.h comment
2026-01-24 7:55 ` Paul Walmsley
@ 2026-01-26 9:37 ` Austin Kim
0 siblings, 0 replies; 3+ messages in thread
From: Austin Kim @ 2026-01-26 9:37 UTC (permalink / raw)
To: Paul Walmsley; +Cc: palmer, aou, alex, linux-riscv, Linux Kernel Mailing List
2026년 1월 24일 (토) PM 4:55, Paul Walmsley <pjw@kernel.org>님이 작성:
>
> On Mon, 19 Jan 2026, Austin Kim wrote:
>
> > From: Austin Kim <austin.kim@lge.com>
> >
> > Some developers may be confused because RISC-V does not have
> > a register named r0. Also, orig_r0 is not available in pt_regs structure,
> > which is specific to riscv. So we had better fix this minor typo.
> >
> > Signed-off-by: Austin Kim <austin.kim@lge.com>
>
> Thanks, queued for v6.20.
Great! Thank you again.
BR,
Austin Kim
>
>
> - Paul
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-01-26 9:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-19 7:14 [PATCH] riscv: fix minor typo in syscall.h comment Austin Kim
2026-01-24 7:55 ` Paul Walmsley
2026-01-26 9:37 ` Austin Kim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox