Skip to contentSkip to conversation

Documentation: Fix misconversion of #if

PATCH Applied Matthew Wilcox 3 participants 3 messages Jan 17, 2018 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: Fix misconversion of #if

From: Matthew Wilcox <[email protected]>

At some stage of the conversion pipeline, something thought that the DocBook entity &num; should be rendered as NUM instead of #.

---
 Documentation/kernel-hacking/hacking.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/kernel-hacking/hacking.rst +2 -2
index daf3883b2694..5c4d30e81b7f 100644
@@ -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'
Signature · 1 line
2.15.1
Reviewed-by on v1 1/1
#1 lore raw

Em Tue, 16 Jan 2018 19:40:55 -0800
Matthew Wilcox <[email protected]> escreveu:

Quoted 6 lines

From: Matthew Wilcox <[email protected]>

At some stage of the conversion pipeline, something thought that the DocBook entity &num; should be rendered as NUM instead of #.

Quoted 9 lines
---
 Documentation/kernel-hacking/hacking.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/kernel-hacking/hacking.rst +0 -0
index daf3883b2694..5c4d30e81b7f 100644

Documentation/kernel-hacking/hacking.rst not provide the necessary runtime environment and the include files are · line 697

Quoted 10 lines
Documentation/kernel-hacking/hacking.rst +2 -2
@@ -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'

Thanks,
Mauro

maintainer Applied
#2 lore raw
In reply to Matthew Wilcox
Quoted 2 lines · On Tue, 16 Jan 2018 19:40:55 -0800 Matthew Wilcox <[email protected]> wrote:

At some stage of the conversion pipeline, something thought that the DocBook entity &num; should be rendered as NUM instead of #.

Haven't you heard? It's a new, improved form of C trigraph... :)

Applied, thanks.

jon