linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] linux/kernel.h: fix reST markup warning for roundup
@ 2019-02-19  0:34 Randy Dunlap
  2019-02-19  4:17 ` Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2019-02-19  0:34 UTC (permalink / raw)
  To: linux-doc, LKML, Jonathan Corbet, Andrew Morton

From: Randy Dunlap <rdunlap@infradead.org>

Fix reST inline markup warning:

../include/linux/kernel.h:137: WARNING: Inline interpreted text or phrase reference start-string without end-string.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
 include/linux/kernel.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20190218.orig/include/linux/kernel.h
+++ linux-next-20190218/include/linux/kernel.h
@@ -108,7 +108,7 @@
  * Rounds @x up to next multiple of @y. If @y will always be a power
  * of 2, consider using the faster round_up().
  *
- * The `const' here prevents gcc-3.3 from calling __divdi3
+ * The ``const`` here prevents gcc-3.3 from calling __divdi3
  */
 #define roundup(x, y) (					\
 {							\



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

* Re: [PATCH] linux/kernel.h: fix reST markup warning for roundup
  2019-02-19  0:34 [PATCH] linux/kernel.h: fix reST markup warning for roundup Randy Dunlap
@ 2019-02-19  4:17 ` Matthew Wilcox
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Wilcox @ 2019-02-19  4:17 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-doc, LKML, Jonathan Corbet, Andrew Morton

On Mon, Feb 18, 2019 at 04:34:26PM -0800, Randy Dunlap wrote:
> - * The `const' here prevents gcc-3.3 from calling __divdi3
> + * The ``const`` here prevents gcc-3.3 from calling __divdi3

Probably time to remove this hack ...

willy@bobo:~/kernel/idrext$ grep gcc Documentation/Changes 
GNU C                  4.6              gcc --version


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

end of thread, other threads:[~2019-02-19  4:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-19  0:34 [PATCH] linux/kernel.h: fix reST markup warning for roundup Randy Dunlap
2019-02-19  4:17 ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).