From: Jonathan Corbet Date: Thu, 31 Aug 2017 15:47:22 +0000 (-0600) Subject: genalloc: Fix an incorrect kerneldoc comment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a27bfcab5c1c3a0df61b68e85fc5e4cade83559f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git genalloc: Fix an incorrect kerneldoc comment The kerneldoc comment for the genpool_algo_t typedef was incomplete and incorrectly formatted, leading to a raft of warnings during the docs build. Fix it appropriately. Signed-off-by: Jonathan Corbet --- diff --git a/include/linux/genalloc.h b/include/linux/genalloc.h index 29d4385903d4..6dfec4d638df 100644 --- a/include/linux/genalloc.h +++ b/include/linux/genalloc.h @@ -38,12 +38,13 @@ struct device_node; struct gen_pool; /** - * Allocation callback function type definition + * typedef genpool_algo_t: Allocation callback function type definition * @map: Pointer to bitmap * @size: The bitmap size in bits * @start: The bitnumber to start searching at * @nr: The number of zeroed bits we're looking for - * @data: optional additional data used by @genpool_algo_t + * @data: optional additional data used by the callback + * @pool: the pool being allocated from */ typedef unsigned long (*genpool_algo_t)(unsigned long *map, unsigned long size,