Skip to contentSkip to conversation

linux-next: build warning in Linus' tree

DISCUSSION Stephen Rothwell 3 participants 3 messages Nov 27, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 5 lines · On Thu, 27 Nov 2025 13:06:24 +1100 Stephen Rothwell <[email protected]>…

Hi all,

In Linus' tree, today's linux-next build (htmldocs) produced this warning:

Quoted 8 lines
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.

include/linux/genalloc.h renamed from include/linux/genalloc.h~genalloch-fix-htmldocs-warning +1 -0
@@ -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,

_

Acked-by Tested-by
#2 lore raw
Quoted 9 lines · Andrew Morton
Quoted 7 lines · On Thu, 27 Nov 2025 13:06:24 +1100 Stephen Rothwell <[email protected]>…

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'
Quoted 8 lines
Quoted 6 lines

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.

Thanks.

Quoted 13 lines
include/linux/genalloc.h renamed from include/linux/genalloc.h~genalloch-fix-htmldocs-warning +1 -0
@@ -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,

_

Signature · 1 line
~Randy