]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
doc: fix a typo in adding-syscalls.rst
authorGuillaume Dore <corwin@poussif.eu>
Thu, 18 Oct 2018 15:47:50 +0000 (17:47 +0200)
committerJonathan Corbet <corbet@lwn.net>
Thu, 18 Oct 2018 18:04:40 +0000 (12:04 -0600)
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>
Documentation/process/adding-syscalls.rst

index 0d4f29bc798bdc1cd68579494069c93b51e2fc04..88a7d5c8bb2fa4d4cd7e651aedb5a76d74731c8e 100644 (file)
@@ -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.