diff mbox series

[07/10] scsi: sd: Fix kdoc comment format

Message ID 20200706123354.452047-1-damien.lemoal@wdc.com (mailing list archive)
State Mainlined
Commit 91e08b35a8a87971b6615b2b0ed432a0bac44acf
Headers show
Series Fix compilation warnings | expand

Commit Message

Damien Le Moal July 6, 2020, 12:33 p.m. UTC
Fix the kdoc comment of the function sd_ioctl_common() to avoid a
compiler warning when compiling with W=1.

No functional changes.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
---
 drivers/scsi/sd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index d90fefffe31b..acde0ca35769 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -1479,7 +1479,7 @@  static int sd_getgeo(struct block_device *bdev, struct hd_geometry *geo)
  *	@bdev: target block device
  *	@mode: FMODE_* mask
  *	@cmd: ioctl command number
- *	@arg: this is third argument given to ioctl(2) system call.
+ *	@p: this is third argument given to ioctl(2) system call.
  *	Often contains a pointer.
  *
  *	Returns 0 if successful (some ioctls return positive numbers on