]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
genalloc.h: fix htmldocs warning
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 27 Nov 2025 18:39:24 +0000 (10:39 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 23 Dec 2025 19:23:10 +0000 (11:23 -0800)
WARNING: include/linux/genalloc.h:52 function parameter 'start_addr' not described in 'genpool_algo_t'

Fixes: 52fbf1134d47 ("lib/genalloc.c: fix allocation of aligned buffer from non-aligned chunk")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lkml.kernel.org/r/20251127130624.563597e3@canb.auug.org.au
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Alexey Skidanov <alexey.skidanov@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/genalloc.h

index 0bd581003cd5dfa99dacce00f6b1fd554687f9cd..60de63e46b33dd30552c5c80bcb11f7a9dcb6dac 100644 (file)
@@ -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,