summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorBagas Sanjaya <bagasdotme@gmail.com>2023-03-24 11:53:10 +0300
committerLuis Chamberlain <mcgrof@kernel.org>2023-03-24 21:33:09 +0300
commit3edf091d5c1241fa191a1d860a3930411fc81d79 (patch)
tree313c87a64841a5ffdfffeb4d41834fa1634bb139 /Documentation
parent33c951f62920d144ca89daa0560180a49afb6f1e (diff)
downloadlinux-3edf091d5c1241fa191a1d860a3930411fc81d79.tar.xz
Documentation: core-api: update kernel-doc reference to kmod.c
Commit d6f819908f8aac ("module: fold usermode helper kmod into modules directory") moves kmod helper implementation (kmod.c) to kernel/module/ directory but forgets to update its reference on kernel api doc, hence: WARNING: kernel-doc './scripts/kernel-doc -rst -enable-lineno -sphinx-version 2.4.4 -export ./kernel/kmod.c' failed with return code 2 Update the reference. Fixes: d6f819908f8aac ("module: fold usermode helper kmod into modules directory") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Link: https://lore.kernel.org/linux-next/20230324154413.19cc78be@canb.auug.org.au/ Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> Reviewed-by: Liam Beguin <liambeguin@gmail.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/core-api/kernel-api.rst2
-rw-r--r--Documentation/translations/zh_CN/core-api/kernel-api.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/core-api/kernel-api.rst b/Documentation/core-api/kernel-api.rst
index 62f961610773..e27728596008 100644
--- a/Documentation/core-api/kernel-api.rst
+++ b/Documentation/core-api/kernel-api.rst
@@ -223,7 +223,7 @@ Module Support
Module Loading
--------------
-.. kernel-doc:: kernel/kmod.c
+.. kernel-doc:: kernel/module/kmod.c
:export:
Inter Module support
diff --git a/Documentation/translations/zh_CN/core-api/kernel-api.rst b/Documentation/translations/zh_CN/core-api/kernel-api.rst
index a4b373c48c0c..a1ea7081077c 100644
--- a/Documentation/translations/zh_CN/core-api/kernel-api.rst
+++ b/Documentation/translations/zh_CN/core-api/kernel-api.rst
@@ -226,7 +226,7 @@ kernel/relay.c
该API在以下内核代码中:
-kernel/kmod.c
+kernel/module/kmod.c
模块接口支持
------------