linux-next: build warning in Linus' tree
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
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,
_
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