Skip to contentSkip to conversation

riscv: Correct a comment in io.h

PATCH In review Bin Meng 2 participants 2 messages Apr 3, 2023 – Apr 6, 2023 1 message not in the archive RISC-V

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 riscv: Correct a comment in io.h

Replace NDS32 with RISC-V in the comments.

---

 arch/riscv/include/asm/io.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/include/asm/io.h +1 -1
index 220266e76f..b16e6dfa37 100644
@@ -180,7 +180,7 @@ static inline u64 readq(const volatile void __iomem *addr)
  *  IO port access primitives
  *  -------------------------
  *
- * The NDS32 doesn't have special IO access instructions just like ARM;
+ * The RISC-V doesn't have special IO access instructions just like ARM;
  * all IO is memory mapped.
  * Note that these are defined to perform little endian accesses
  * only.  Their primary purpose is to access PCI and ISA peripherals.
Signature · 1 line
2.25.1

A message that is not in the archive (sent off-list or not yet received): PU1PR03MB299708B7D6E146FCEE82D0A5C1919@PU1PR03MB2997.apcprd03.prod.outlook.com

Reviewed-by
#2 lore raw
Quoted 18 lines

From: Bin Meng <[email protected]>
Sent: Monday, April 03, 2023 11:38 AM
To: Leo Yu-Chi Liang(梁育齊) <[email protected]>; Rick Jian-Zhi Chen(陳建志) <[email protected]>
Cc: [email protected]
Subject: [PATCH] riscv: Correct a comment in io.h

Replace NDS32 with RISC-V in the comments.

---

 arch/riscv/include/asm/io.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

arch/riscv/include/asm/io.h static inline u64 readq(const volatile void __iomem *addr) · line 186

Quoted 9 lines
arch/riscv/include/asm/io.h +2 -1
@@ -180,7 +180,7 @@ static inline u64 readq(const volatile void __iomem *addr)
  *  IO port access primitives
  *  -------------------------
  *
- * The NDS32 doesn't have special IO access instructions just like ARM;
+ * The RISC-V doesn't have special IO access instructions just like
+ ARM;
  * all IO is memory mapped.
  * Note that these are defined to perform little endian accesses
  * only.  Their primary purpose is to access PCI and ISA peripherals.