All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Documentation: Fix misconversion of #if
@ 2018-01-17  3:40 Matthew Wilcox
  2018-01-17 11:04 ` Mauro Carvalho Chehab
  2018-01-17 23:46 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Matthew Wilcox @ 2018-01-17  3:40 UTC (permalink / raw)
  To: Jonathan Corbet, Mauro Carvalho Chehab, linux-doc, linux-kernel
  Cc: Matthew Wilcox

From: Matthew Wilcox <mawilcox@microsoft.com>

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

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
---
 Documentation/kernel-hacking/hacking.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
index daf3883b2694..5c4d30e81b7f 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'
-- 
2.15.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: Fix misconversion of #if
  2018-01-17  3:40 [PATCH] Documentation: Fix misconversion of #if Matthew Wilcox
@ 2018-01-17 11:04 ` Mauro Carvalho Chehab
  2018-01-17 23:46 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2018-01-17 11:04 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: Jonathan Corbet, linux-doc, linux-kernel, Matthew Wilcox

Em Tue, 16 Jan 2018 19:40:55 -0800
Matthew Wilcox <willy@infradead.org> escreveu:

> From: Matthew Wilcox <mawilcox@microsoft.com>
> 
> At some stage of the conversion pipeline, something thought that the
> DocBook entity &num; should be rendered as NUM instead of #.
> 
> Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
> ---
>  Documentation/kernel-hacking/hacking.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
> index daf3883b2694..5c4d30e81b7f 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'



Thanks,
Mauro

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: Fix misconversion of #if
  2018-01-17  3:40 [PATCH] Documentation: Fix misconversion of #if Matthew Wilcox
  2018-01-17 11:04 ` Mauro Carvalho Chehab
@ 2018-01-17 23:46 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2018-01-17 23:46 UTC (permalink / raw)
  To: Matthew Wilcox
  Cc: Mauro Carvalho Chehab, linux-doc, linux-kernel, Matthew Wilcox

On Tue, 16 Jan 2018 19:40:55 -0800
Matthew Wilcox <willy@infradead.org> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-17 23:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-17  3:40 [PATCH] Documentation: Fix misconversion of #if Matthew Wilcox
2018-01-17 11:04 ` Mauro Carvalho Chehab
2018-01-17 23:46 ` Jonathan Corbet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.