summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-09-17 02:11:41 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2019-09-17 02:11:41 +0300
commita480222f4c7cdafad22540f44487f009e359dfb8 (patch)
treed14c9e5852653846e32151a8f4c7299c677ea3b5 /include
parentcef7298262e9af841fb70d8673af45caf55300a1 (diff)
parente8e4eb0fbeda570b16464208aebf5caccfb6eb95 (diff)
downloadlinux-a480222f4c7cdafad22540f44487f009e359dfb8.tar.xz
Merge branch 'core-headers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull header documentation fix from Ingo Molnar: "Fix the parameter description <asm-generic/div64.h>" * 'core-headers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: asm-generic/div64: Fix documentation of do_div() parameter
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/div64.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-generic/div64.h b/include/asm-generic/div64.h
index dc9726fdac8f..b2a9c74efa55 100644
--- a/include/asm-generic/div64.h
+++ b/include/asm-generic/div64.h
@@ -28,12 +28,12 @@
/**
* do_div - returns 2 values: calculate remainder and update new dividend
- * @n: pointer to uint64_t dividend (will be updated)
+ * @n: uint64_t dividend (will be updated)
* @base: uint32_t divisor
*
* Summary:
- * ``uint32_t remainder = *n % base;``
- * ``*n = *n / base;``
+ * ``uint32_t remainder = n % base;``
+ * ``n = n / base;``
*
* Return: (uint32_t)remainder
*