Subject: Re: linux-next: build warning in Linus' tree

From: Andrew Morton <[email-masked]>
Date: Thu, 27 Nov 2025 10:42:57 -0800

On Thu, 27 Nov 2025 13:06:24 +1100 Stephen Rothwell <[email-masked]> wrote:

> Hi all,
> 
> In Linus' tree, today's linux-next build (htmldocs) produced this
> warning:
> 
> WARNING: /home/sfr/kernels/next/next/include/linux/genalloc.h:52 function parameter 'start_addr' not described in 'genpool_algo_t'
> 
> Introduced by commit
> 
>   52fbf1134d47 ("lib/genalloc.c: fix allocation of aligned buffer from non-aligned chunk")
> 
> This has been exposed recently after a bug was fixed that caused some
> warnings to not be reported.

Thanks.  I think I can handle this one.  Just.

--- a/include/linux/genalloc.h~genalloch-fix-htmldocs-warning
+++ a/include/linux/genalloc.h
@@ -44,6 +44,7 @@ struct gen_pool;
  * @nr: The number of zeroed bits we're looking for
  * @data: optional additional data used by the callback
  * @pool: the pool being allocated from
+ * @start_addr: start address of memory chunk
  */
 typedef unsigned long (*genpool_algo_t)(unsigned long *map,
 			unsigned long size,
_