aboutsummaryrefslogtreecommitdiff
path: root/Documentation/process/adding-syscalls.rst
diff options
context:
space:
mode:
authorGuillaume Dore2018-10-18 17:47:50 +0200
committerJonathan Corbet2018-10-18 12:04:40 -0600
commit418ca3de75cd5e4130a6f2d5bd76ccb8e3f6e461 (patch)
tree55dfeabfd8e5b67c9246f636adef216e7c588af3 /Documentation/process/adding-syscalls.rst
parent63625899c6eba697fdbefcdcdc2cb27549df9e43 (diff)
doc: fix a typo in adding-syscalls.rst
There was a typo in adding-syscalls.rst that could mislead developers to add a C filename in a makefile instead of an object filename. This error, while not keeping developers from contributing could slow the development process down by introducing build errors. Signed-off-by: Guillaume Dore <corwin@poussif.eu> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/process/adding-syscalls.rst')
-rw-r--r--Documentation/process/adding-syscalls.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/process/adding-syscalls.rst b/Documentation/process/adding-syscalls.rst
index 0d4f29bc798b..88a7d5c8bb2f 100644
--- a/Documentation/process/adding-syscalls.rst
+++ b/Documentation/process/adding-syscalls.rst
@@ -232,7 +232,7 @@ normally be optional, so add a ``CONFIG`` option (typically to
by the option.
- Make the option depend on EXPERT if it should be hidden from normal users.
- Make any new source files implementing the function dependent on the CONFIG
- option in the Makefile (e.g. ``obj-$(CONFIG_XYZZY_SYSCALL) += xyzzy.c``).
+ option in the Makefile (e.g. ``obj-$(CONFIG_XYZZY_SYSCALL) += xyzzy.o``).
- Double check that the kernel still builds with the new CONFIG option turned
off.