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 <lucas.segarra.fernandez@xxxxxxxxx> > Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@xxxxxxxxx> > Reviewed-by: Damian Muszynski <damian.muszynski@xxxxxxxxx> > --- > 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 <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt