OSDN Git Service

docs: Make syscalls' helpers naming consistent
authorAndré Almeida <andrealmeid@collabora.com>
Sat, 30 Jan 2021 01:45:46 +0000 (22:45 -0300)
committerJonathan Corbet <corbet@lwn.net>
Thu, 4 Feb 2021 21:47:24 +0000 (14:47 -0700)
commitdd58e649742a5eabd327d47096f12d3302d908f1
tree949de4f4e63837fce47b7cbd86711e28084641d8
parent26606ce072d48ab82f640f75ab9673ee10ab4a5a
docs: Make syscalls' helpers naming consistent

The documentation explains the need to create internal syscalls' helpers,
and that they should be called `kern_xyzzy()`. However, the comment at
include/linux/syscalls.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.

Fixes: 819671ff849b ("syscalls: define and explain goal to not call syscalls in the kernel")
Signed-off-by: André Almeida <andrealmeid@collabora.com>
Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
Link: https://lore.kernel.org/r/20210130014547.123006-1-andrealmeid@collabora.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/process/adding-syscalls.rst