Re: [PATCH v10 07/11] Documentation: core-api: Add math.h macros and functions
From: Devarsh Thakkar
Date: Fri May 31 2024 - 06:58:23 EST
Hi Randy,
Thanks for the review.
On 31/05/24 04:14, Randy Dunlap wrote:
>
>
> On 5/30/24 10:17 AM, Devarsh Thakkar wrote:
>> Add documentation for rounding, scaling, absolute value and difference,
>> 32-bit division related macros and functions exported by math.h header
>> file.
>>
>> Signed-off-by: Devarsh Thakkar <devarsht@xxxxxx>
>> ---
>> V1->V9 (No change)
>> V10: Patch introduced
>> ---
>> Documentation/core-api/kernel-api.rst | 6 ++++++
>> 1 file changed, 6 insertions(+)
>>
>> diff --git a/Documentation/core-api/kernel-api.rst b/Documentation/core-api/kernel-api.rst
>> index ae92a2571388..fb467783d491 100644
>> --- a/Documentation/core-api/kernel-api.rst
>> +++ b/Documentation/core-api/kernel-api.rst
>> @@ -185,6 +185,12 @@ Division Functions
>> .. kernel-doc:: lib/math/gcd.c
>> :export:
>>
>> +Rounding, absolute value, scaling and 32bit division functions
>
> 32-bit
> please.
>
Good catch. Also I see some division functions supporting non-32bit functions
too, so I would make it as below :
Rounding, absolute value, division and 32-bit scaling functions
---------------------------------------------------------------
Regards
Devarsh