Re: [PATCH 1/2] docs: Make syscalls' helpers naming consistent

From: Jonathan Corbet
Date: Thu Feb 04 2021 - 16:49:46 EST


André Almeida <andrealmeid@xxxxxxxxxxxxx> writes:

> The documentation explains the need to create internal syscalls' helpers,
> and that they should be called `kern_xyzzy()`. However, the comment at
> include/linux/syscall.h says that they should be named as
> `ksys_xyzzy()`, and so are all the helpers declared bellow it. Change the
> documentation to reflect this.
>
> Cc: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>
> Fixes: 819671ff849b ("syscalls: define and explain goal to not call syscalls in the kernel")
> Signed-off-by: André Almeida <andrealmeid@xxxxxxxxxxxxx>
> ---
> Documentation/process/adding-syscalls.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

I've applied both patches thanks (also did s/syscall.h/syscalls.h in the
above changelog).

jon