summaryrefslogtreecommitdiffstats
path: root/Documentation/core-api
diff options
context:
space:
mode:
authorLiam Beguin <liambeguin@gmail.com>2022-11-18 13:23:07 -0500
committerJonathan Corbet <corbet@lwn.net>2022-11-21 14:30:53 -0700
commitd28a1de5d1128d6caef15fdc04d3f6484dc7264b (patch)
tree6ec0faaf031cbffa1cb6f54f067e472588ed923d /Documentation/core-api
parent1f050e904dd6f2955eecbd22031d912ccb2e7683 (diff)
downloadlinux-d28a1de5d1128d6caef15fdc04d3f6484dc7264b.tar.bz2
math64: favor kernel-doc from header files
Fix the kernel-doc markings for div64 functions to point to the header file instead of the lib/ directory. This avoids having implementation specific comments in generic documentation. Furthermore, given that some kernel-doc comments are identical, drop them from lib/math64 and only keep there comments that add implementation details. Signed-off-by: Liam Beguin <liambeguin@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Tested-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20221118182309.3824530-1-liambeguin@gmail.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/core-api')
-rw-r--r--Documentation/core-api/kernel-api.rst3
1 files changed, 0 insertions, 3 deletions
diff --git a/Documentation/core-api/kernel-api.rst b/Documentation/core-api/kernel-api.rst
index 0793c400d4b0..ca305fd40146 100644
--- a/Documentation/core-api/kernel-api.rst
+++ b/Documentation/core-api/kernel-api.rst
@@ -165,9 +165,6 @@ Division Functions
.. kernel-doc:: include/linux/math64.h
:internal:
-.. kernel-doc:: lib/math/div64.c
- :functions: div_s64_rem div64_u64_rem div64_u64 div64_s64
-
.. kernel-doc:: lib/math/gcd.c
:export: