aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorKhaled Elnaggar <khaledelnaggarlinux@gmail.com>2025-05-27 00:10:39 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2025-06-06 05:40:25 +0900
commit94145ffb07601674091aadbdca9ce004b1736df4 (patch)
treef702e5b0f2145336eaa0d057e55f198d628fe2be /Documentation
parentkbuild: link lib-y objects to vmlinux forcibly even when CONFIG_MODULES=n (diff)
downloadlinux-rng-94145ffb07601674091aadbdca9ce004b1736df4.tar.xz
linux-rng-94145ffb07601674091aadbdca9ce004b1736df4.zip
docs: symbol-namespaces: fix reST warning with literal block
Use a literal block for the EXPORT_SYMBOL_GPL_FOR_MODULES() example to avoid a Docutils warning about unmatched '*'. This ensures correct rendering and keeps the source readable. Warning: Documentation/core-api/symbol-namespaces.rst:90: WARNING: Inline emphasis start-string without end-string. [docutils] Signed-off-by: Khaled Elnaggar <khaledelnaggarlinux@gmail.com> Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/core-api/symbol-namespaces.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/core-api/symbol-namespaces.rst b/Documentation/core-api/symbol-namespaces.rst
index f7cfa7b73e97..32fc73dc5529 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-*")