Skip to contentSkip to conversation

tools: include: nolibc: Fix a typo occured to occurred in the file nolibc.h

PATCH In review Bhaskar Chowdhury 3 participants 3 messages Feb 27, 2021 – Mar 22, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: include: nolibc: Fix a typo occured to occurred in the file nolibc.h

s/occured/occurred/

---
Stolen result from Colin's finding and share from the other places. :)

 tools/include/nolibc/nolibc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/include/nolibc/nolibc.h +1 -1
index e61d36cd4e50..fc998c359607 100644
@@ -1054,7 +1054,7 @@ struct sys_stat_struct {
  *     scall32-o32.S in the kernel sources.
  *   - the system call is performed by calling "syscall"
  *   - syscall return comes in v0, and register a3 needs to be checked to know
- *     if an error occured, in which case errno is in v0.
+ *     if an error occurred, in which case errno is in v0.
  *   - the arguments are cast to long and assigned into the target registers
  *     which are then simply passed as registers to the asm code, so that we
  *     don't have to experience issues with register constraints.

--
2.26.2

_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv

Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Bhaskar Chowdhury

s/occured/occurred/

Quoted 20 lines

---
Stolen result from Colin's finding and share from the other places. :)

 tools/include/nolibc/nolibc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/include/nolibc/nolibc.h +1 -2
index e61d36cd4e50..fc998c359607 100644
@@ -1054,7 +1054,7 @@ struct sys_stat_struct {
  *     scall32-o32.S in the kernel sources.
  *   - the system call is performed by calling "syscall"
  *   - syscall return comes in v0, and register a3 needs to be checked to know
- *     if an error occured, in which case errno is in v0.
+ *     if an error occurred, in which case errno is in v0.
  *   - the arguments are cast to long and assigned into the target registers
  *     which are then simply passed as registers to the asm code, so that we
  *     don't have to experience issues with register constraints.
--
Signature · 7 lines
~Randy


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv