linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] module: Wrap EXPORT_SYMBOL_GPL_FOR_MODULES() example in literal code block
@ 2025-06-04  0:51 Bagas Sanjaya
  2025-06-04  9:10 ` Petr Pavlu
  0 siblings, 1 reply; 3+ messages in thread
From: Bagas Sanjaya @ 2025-06-04  0:51 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Documentation,
	Linux Kernel Build System
  Cc: Matthias Maennich, Jonathan Corbet, Peter Zijlstra,
	Masahiro Yamada, Petr Pavlu, Bagas Sanjaya, Stephen Rothwell

Stephen Rothwell reports htmldocs warning:

Documentation/core-api/symbol-namespaces.rst:90: WARNING: Inline emphasis start-string without end-string. [docutils]

Fix the warning by wrapping EXPORT_SYMBOL_GPL_FOR_MODULES() example in
literal code block, just like other examples in symbol namespaces
documentation.

Fixes: 707f853d7fa3 ("module: Provide EXPORT_SYMBOL_GPL_FOR_MODULES() helper")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/linux-next/20250526180350.06b825de@canb.auug.org.au/
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/core-api/symbol-namespaces.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/core-api/symbol-namespaces.rst b/Documentation/core-api/symbol-namespaces.rst
index f7cfa7b73e974d..32fc73dc5529e8 100644
--- a/Documentation/core-api/symbol-namespaces.rst
+++ b/Documentation/core-api/symbol-namespaces.rst
@@ -85,7 +85,7 @@ namespace cannot be imported.
 The macro takes a comma separated list of module names, allowing only those
 modules to access this symbol. Simple tail-globs are supported.
 
-For example:
+For example::
 
   EXPORT_SYMBOL_GPL_FOR_MODULES(preempt_notifier_inc, "kvm,kvm-*")
 

base-commit: 85c4f3d89b17f569e9b718df6b6e19d6081f01c7
-- 
An old man doll... just what I always wanted! - Clara


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

end of thread, other threads:[~2025-06-04  9:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-04  0:51 [PATCH] module: Wrap EXPORT_SYMBOL_GPL_FOR_MODULES() example in literal code block Bagas Sanjaya
2025-06-04  9:10 ` Petr Pavlu
2025-06-04  9:14   ` Bagas Sanjaya

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).