OSDN Git Service

block: fix Sphinx kernel-doc warning
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 16 Oct 2017 18:01:00 +0000 (11:01 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Oct 2017 19:00:12 +0000 (13:00 -0600)
Sphinx treats symbols that end with '_' as a kind of special
documentation indicator, so fix that by adding an ending '*'
to it.

../block/bio.c:404: ERROR: Unknown target name: "gfp".

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

index bf0dbe8..ae9ad34 100644 (file)
@@ -400,7 +400,7 @@ static void punt_bios_to_rescuer(struct bio_set *bs)
 
 /**
  * bio_alloc_bioset - allocate a bio for I/O
- * @gfp_mask:   the GFP_ mask given to the slab allocator
+ * @gfp_mask:   the GFP_* mask given to the slab allocator
  * @nr_iovecs: number of iovecs to pre-allocate
  * @bs:                the bio_set to allocate from.
  *