2023-12-22 04:24:20

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH 1/5] math.h: Add avg_array()

On Fri, Dec 15, 2023 at 04:24:40PM +0100, Lucas Segarra Fernandez wrote:
> Add macro to compute average of values within an array.
>
> This patch is based on earlier work done by Wojciech Ziemba.
>
> Signed-off-by: Lucas Segarra Fernandez <[email protected]>
> Reviewed-by: Giovanni Cabiddu <[email protected]>
> Reviewed-by: Damian Muszynski <[email protected]>
> ---
> include/linux/math.h | 33 +++++++++++++++++++++++++++++++++
> 1 file changed, 33 insertions(+)

I think adding this to a common header when there are no other
users is a bit premature. Please keep it in a local header file
until a new user appears.

Thanks,
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt