Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sbitmap: fix all kernel-doc warnings

Modify kernel-doc comments in sbitmap.h to prevent warnings:

Warning: include/linux/sbitmap.h:84 struct member 'alloc_hint' not
described in 'sbitmap'
Warning: include/linux/sbitmap.h:151 struct member 'ws_active' not
described in 'sbitmap_queue'
Warning: include/linux/sbitmap.h:552 No description found for
return value of 'sbq_wait_ptr'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Randy Dunlap and committed by
Jens Axboe
418de94e 28d7a371

+4 -2
+4 -2
include/linux/sbitmap.h
··· 75 75 */ 76 76 struct sbitmap_word *map; 77 77 78 - /* 78 + /** 79 79 * @alloc_hint: Cache of last successfully allocated or freed bit. 80 80 * 81 81 * This is per-cpu, which allows multiple users to stick to different ··· 128 128 */ 129 129 struct sbq_wait_state *ws; 130 130 131 - /* 131 + /** 132 132 * @ws_active: count of currently active ws waitqueues 133 133 */ 134 134 atomic_t ws_active; ··· 547 547 * sbitmap_queue. 548 548 * @sbq: Bitmap queue to wait on. 549 549 * @wait_index: A counter per "user" of @sbq. 550 + * 551 + * Return: Next wait queue to be used 550 552 */ 551 553 static inline struct sbq_wait_state *sbq_wait_ptr(struct sbitmap_queue *sbq, 552 554 atomic_t *wait_index)