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

Randy Dunlap rdunlap at infradead.org
Sat Feb 27 17:58:18 EST 2021


On 2/27/21 2:44 PM, Bhaskar Chowdhury wrote:
> 
> s/occured/occurred/
> 
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar at gmail.com>

Acked-by: Randy Dunlap <rdunlap at infradead.org>


> ---
>  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(-)
> 
> diff --git a/tools/include/nolibc/nolibc.h b/tools/include/nolibc/nolibc.h
> index e61d36cd4e50..fc998c359607 100644
> --- a/tools/include/nolibc/nolibc.h
> +++ b/tools/include/nolibc/nolibc.h
> @@ -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.
> --


-- 
~Randy




More information about the linux-riscv mailing list