diff options
author | Jonathan Corbet <corbet@lwn.net> | 2017-08-31 11:47:22 -0400 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2017-08-31 11:47:22 -0400 |
commit | a27bfcab5c1c3a0df61b68e85fc5e4cade83559f (patch) | |
tree | 5e56160c8a9fac7dd21c661178d6df7e07d4084a | |
parent | 7ee8adcf271acd3baa5ab12cb804ab36fda16b3f (diff) |
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 <corbet@lwn.net>
-rw-r--r-- | include/linux/genalloc.h | 5 |
1 files changed, 3 insertions, 2 deletions
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; | |||
38 | struct gen_pool; | 38 | struct gen_pool; |
39 | 39 | ||
40 | /** | 40 | /** |
41 | * Allocation callback function type definition | 41 | * typedef genpool_algo_t: Allocation callback function type definition |
42 | * @map: Pointer to bitmap | 42 | * @map: Pointer to bitmap |
43 | * @size: The bitmap size in bits | 43 | * @size: The bitmap size in bits |
44 | * @start: The bitnumber to start searching at | 44 | * @start: The bitnumber to start searching at |
45 | * @nr: The number of zeroed bits we're looking for | 45 | * @nr: The number of zeroed bits we're looking for |
46 | * @data: optional additional data used by @genpool_algo_t | 46 | * @data: optional additional data used by the callback |
47 | * @pool: the pool being allocated from | ||
47 | */ | 48 | */ |
48 | typedef unsigned long (*genpool_algo_t)(unsigned long *map, | 49 | typedef unsigned long (*genpool_algo_t)(unsigned long *map, |
49 | unsigned long size, | 50 | unsigned long size, |