* [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
* Re: [PATCH] module: Wrap EXPORT_SYMBOL_GPL_FOR_MODULES() example in literal code block
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
0 siblings, 1 reply; 3+ messages in thread
From: Petr Pavlu @ 2025-06-04 9:10 UTC (permalink / raw)
To: Bagas Sanjaya, Masahiro Yamada
Cc: Linux Kernel Mailing List, Linux Documentation,
Linux Kernel Build System, Matthias Maennich, Jonathan Corbet,
Peter Zijlstra, Stephen Rothwell
On 6/4/25 2:51 AM, Bagas Sanjaya wrote:
> 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>
An earlier patch for the problem was sent in
https://lore.kernel.org/all/20250526211039.163449-1-khaledelnaggarlinux@gmail.com/.
The fix should go through the kbuild tree as the problem currently
originates on its for-next branch.
--
Thanks,
Petr
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] module: Wrap EXPORT_SYMBOL_GPL_FOR_MODULES() example in literal code block
2025-06-04 9:10 ` Petr Pavlu
@ 2025-06-04 9:14 ` Bagas Sanjaya
0 siblings, 0 replies; 3+ messages in thread
From: Bagas Sanjaya @ 2025-06-04 9:14 UTC (permalink / raw)
To: Petr Pavlu, Masahiro Yamada
Cc: Linux Kernel Mailing List, Linux Documentation,
Linux Kernel Build System, Matthias Maennich, Jonathan Corbet,
Peter Zijlstra, Stephen Rothwell
[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]
On Wed, Jun 04, 2025 at 11:10:07AM +0200, Petr Pavlu wrote:
> On 6/4/25 2:51 AM, Bagas Sanjaya wrote:
> > 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>
>
> An earlier patch for the problem was sent in
> https://lore.kernel.org/all/20250526211039.163449-1-khaledelnaggarlinux@gmail.com/.
>
> 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...
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [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).