Re: [PATCH] module: Wrap EXPORT_SYMBOL_GPL_FOR_MODULES() example in literal code block

From: Petr Pavlu
Date: Wed Jun 04 2025 - 05:10:22 EST


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@xxxxxxxxxxxxxxxx>
> Closes: https://lore.kernel.org/linux-next/20250526180350.06b825de@xxxxxxxxxxxxxxxx/
> Signed-off-by: Bagas Sanjaya <bagasdotme@xxxxxxxxx>

An earlier patch for the problem was sent in
https://lore.kernel.org/all/20250526211039.163449-1-khaledelnaggarlinux@xxxxxxxxx/.

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

--
Thanks,
Petr