From: Matthew Wilcox Date: Wed, 17 Jan 2018 03:40:55 +0000 (-0800) Subject: Documentation: Fix misconversion of #if X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=423860a65ae54fa1fbd3abb224bdc62124dcdb90;p=linux.git Documentation: Fix misconversion of #if At some stage of the conversion pipeline, something thought that the DocBook entity # should be rendered as NUM instead of #. Signed-off-by: Matthew Wilcox Signed-off-by: Jonathan Corbet --- diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst index 5192d7f78ecaa..9999c84682931 100644 --- a/Documentation/kernel-hacking/hacking.rst +++ b/Documentation/kernel-hacking/hacking.rst @@ -690,8 +690,8 @@ not provide the necessary runtime environment and the include files are not tested for it. It is still possible, but not recommended. If you really want to do this, forget about exceptions at least. -NUMif ------ +#if +--- It is generally considered cleaner to use macros in header files (or at the top of .c files) to abstract away functions rather than using \`#if'