mirror of https://gitee.com/openkylin/linux.git
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
This commit is contained in:
commit
a480222f4c
|
@ -28,12 +28,12 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* do_div - returns 2 values: calculate remainder and update new dividend
|
* 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
|
* @base: uint32_t divisor
|
||||||
*
|
*
|
||||||
* Summary:
|
* Summary:
|
||||||
* ``uint32_t remainder = *n % base;``
|
* ``uint32_t remainder = n % base;``
|
||||||
* ``*n = *n / base;``
|
* ``n = n / base;``
|
||||||
*
|
*
|
||||||
* Return: (uint32_t)remainder
|
* Return: (uint32_t)remainder
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue