Skip to contentSkip to conversation

block: Suppress kernel-doc warnings triggered by blk-zoned.c

PATCH Applied Bart Van Assche 2 participants 2 messages Mar 8, 2018 – Mar 9, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: Suppress kernel-doc warnings triggered by blk-zoned.c

Avoid that building with W=1 causes the kernel-doc tool to complain about undocumented function arguments for the blk-zoned.c source file.

Cc Christoph Hellwig <[email protected]>
Cc Damien Le Moal <[email protected]>
---
 block/blk-zoned.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
block/blk-zoned.c +2 -2
index acb7252c7e81..08e84ef2bc05 100644
@@ -296,7 +296,7 @@ int blkdev_reset_zones(struct block_device *bdev,
 }
 EXPORT_SYMBOL_GPL(blkdev_reset_zones);
 
-/**
+/*
  * BLKREPORTZONE ioctl processing.
  * Called from blkdev_ioctl.
  */
@@ -355,7 +355,7 @@ int blkdev_report_zones_ioctl(struct block_device *bdev, fmode_t mode,
 	return ret;
 }
 
-/**
+/*
  * BLKRESETZONE ioctl processing.
  * Called from blkdev_ioctl.
  */
Signature · 1 line
2.16.2
maintainer Applied
#1 lore raw
Quoted 2 lines · Bart Van Assche

Avoid that building with W=1 causes the kernel-doc tool to complain about undocumented function arguments for the blk-zoned.c source file.

Applied, thanks.

Signature · 1 line
Jens Axboe