Skip to contentSkip to conversation

module: Wrap EXPORT_SYMBOL_GPL_FOR_MODULES() example in literal code block

PATCH In review Bagas Sanjaya 2 participants 3 messages Jun 4, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 module: Wrap EXPORT_SYMBOL_GPL_FOR_MODULES() example in literal code block

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")
---
 Documentation/core-api/symbol-namespaces.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/core-api/symbol-namespaces.rst +1 -1
index f7cfa7b73e974d..32fc73dc5529e8 100644
@@ -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

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#1 lore raw
Quoted 4 lines · Bagas Sanjaya

Stephen Rothwell reports htmldocs warning:

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

Quoted 8 lines

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

An earlier patch for the problem was sent in
https://lore.kernel.org/all/[email protected]/.

The fix should go through the kbuild tree as the problem currently originates on its for-next branch.

Signature · 2 lines
Thanks,
Petr
#2 lore raw
Quoted 14 lines · Petr Pavlu
Quoted 4 lines · Bagas Sanjaya

Stephen Rothwell reports htmldocs warning:

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

Quoted 8 lines

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")
Quoted 5 lines

An earlier patch for the problem was sent in
https://lore.kernel.org/all/[email protected]/.

The fix should go through the kbuild tree as the problem currently originates on its for-next branch.

OK, thanks! I didn't see Khaled's patch as I was in hurry...

Signature · 1 line
An old man doll... just what I always wanted! - Clara