mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 10:01:25 +00:00
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>
This commit is contained in:
parent
7ee8adcf27
commit
a27bfcab5c
1 changed files with 3 additions and 2 deletions
|
@ -38,12 +38,13 @@ struct device_node;
|
||||||
struct gen_pool;
|
struct gen_pool;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allocation callback function type definition
|
* typedef genpool_algo_t: Allocation callback function type definition
|
||||||
* @map: Pointer to bitmap
|
* @map: Pointer to bitmap
|
||||||
* @size: The bitmap size in bits
|
* @size: The bitmap size in bits
|
||||||
* @start: The bitnumber to start searching at
|
* @start: The bitnumber to start searching at
|
||||||
* @nr: The number of zeroed bits we're looking for
|
* @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,
|
typedef unsigned long (*genpool_algo_t)(unsigned long *map,
|
||||||
unsigned long size,
|
unsigned long size,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue