public inbox for linux-riscv@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] Documentation: riscv: Fix typo MIMPLID -> MIMPID
@ 2024-09-25 14:25 Nam Cao
  2024-09-25 14:47 ` Evan Green
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Nam Cao @ 2024-09-25 14:25 UTC (permalink / raw)
  To: Jonathan Corbet, Paul Walmsley, Palmer Dabbelt, Albert Ou,
	Clément Léger, Evan Green, Charlie Jenkins,
	Andrew Jones, linux-doc, linux-riscv, linux-kernel
  Cc: Nam Cao

The macro that is really defined is RISCV_HWPROBE_KEY_MIMPID, not
RISCV_HWPROBE_KEY_MIMPLID (difference is the 'L').

Also, the riscv privileged specification names the register "mimpid", not
"mimplid".

Correct these typos.

Signed-off-by: Nam Cao <namcao@linutronix.de>
---
ask me how I found out..

 Documentation/arch/riscv/hwprobe.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/arch/riscv/hwprobe.rst b/Documentation/arch/riscv/hwprobe.rst
index 85b709257918..fb0affa61eb9 100644
--- a/Documentation/arch/riscv/hwprobe.rst
+++ b/Documentation/arch/riscv/hwprobe.rst
@@ -51,7 +51,7 @@ The following keys are defined:
 * :c:macro:`RISCV_HWPROBE_KEY_MARCHID`: Contains the value of ``marchid``, as
   defined by the RISC-V privileged architecture specification.
 
-* :c:macro:`RISCV_HWPROBE_KEY_MIMPLID`: Contains the value of ``mimplid``, as
+* :c:macro:`RISCV_HWPROBE_KEY_MIMPID`: Contains the value of ``mimpid``, as
   defined by the RISC-V privileged architecture specification.
 
 * :c:macro:`RISCV_HWPROBE_KEY_BASE_BEHAVIOR`: A bitmask containing the base
-- 
2.39.2


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

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

end of thread, other threads:[~2025-03-26  8:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-25 14:25 [PATCH] Documentation: riscv: Fix typo MIMPLID -> MIMPID Nam Cao
2024-09-25 14:47 ` Evan Green
2024-09-25 14:47 ` Conor Dooley
2024-09-25 16:15 ` Andrew Jones
2024-09-25 18:02 ` Jonathan Corbet
2024-09-29 15:33   ` Nam Cao
2024-09-29 18:46     ` Jonathan Corbet
2024-09-30 18:49       ` Nam Cao
2025-03-26  8:57 ` Alexandre Ghiti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox