[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251127104257.862f0bb753226111ff09acbc@linux-foundation.org>
Date: Thu, 27 Nov 2025 10:42:57 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>, Alexey Skidanov
<alexey.skidanov@...el.com>, Linux Kernel Mailing List
<linux-kernel@...r.kernel.org>, Linux Next Mailing List
<linux-next@...r.kernel.org>
Subject: Re: linux-next: build warning in Linus' tree
On Thu, 27 Nov 2025 13:06:24 +1100 Stephen Rothwell <sfr@...b.auug.org.au> 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,
_
Powered by blists - more mailing lists