aboutsummaryrefslogtreecommitdiffstats
path: root/lib/div64.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2017-09-30 11:43:42 -0400
committerJonathan Corbet <corbet@lwn.net>2017-10-07 12:45:07 -0400
commit6ec72e61cb09482fe08524480f7f3f18a6d23cfa (patch)
treeabe54b457928c6e3bd4b7a42eb30ff71baeb7fbb /lib/div64.c
parenta1c4d24e02d093efd84cbde417051d2e767fa8fa (diff)
div64: add missing kernel-doc
Add missing kernel-doc notation for 2 div() functions. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'lib/div64.c')
-rw-r--r--lib/div64.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/div64.c b/lib/div64.c
index 7f345259c32f..5660e8233293 100644
--- a/lib/div64.c
+++ b/lib/div64.c
@@ -60,6 +60,12 @@ uint32_t __attribute__((weak)) __div64_32(uint64_t *n, uint32_t base)
60EXPORT_SYMBOL(__div64_32); 60EXPORT_SYMBOL(__div64_32);
61#endif 61#endif
62 62
63/**
64 * div_s64_rem - signed 64bit divide with 64bit divisor and remainder
65 * @dividend: 64bit dividend
66 * @divisor: 64bit divisor
67 * @remainder: 64bit remainder
68 */
63#ifndef div_s64_rem 69#ifndef div_s64_rem
64s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) 70s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder)
65{ 71{