Преглед изворни кода

libata: fix kernel-doc warnings

Fix libata kernel-doc warnings:

Warning(linux-next-20090120//drivers/ata/libata-core.c:4720): Excess function parameter 'dev' description in 'ata_qc_new'
Warning(linux-next-20090120//drivers/ata/libata-scsi.c:428): No description found for parameter 'ap'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Randy Dunlap пре 16 година
родитељ
комит
5eb66fe05f
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 2
      drivers/ata/libata-core.c
  2. 1 0
      drivers/ata/libata-scsi.c

+ 1 - 2
drivers/ata/libata-core.c

@@ -4709,8 +4709,7 @@ void swap_buf_le16(u16 *buf, unsigned int buf_words)
 
 
 /**
 /**
  *	ata_qc_new - Request an available ATA command, for queueing
  *	ata_qc_new - Request an available ATA command, for queueing
- *	@ap: Port associated with device @dev
- *	@dev: Device from whom we request an available command structure
+ *	@ap: target port
  *
  *
  *	LOCKING:
  *	LOCKING:
  *	None.
  *	None.

+ 1 - 0
drivers/ata/libata-scsi.c

@@ -415,6 +415,7 @@ int ata_std_bios_param(struct scsi_device *sdev, struct block_device *bdev,
 
 
 /**
 /**
  *	ata_get_identity - Handler for HDIO_GET_IDENTITY ioctl
  *	ata_get_identity - Handler for HDIO_GET_IDENTITY ioctl
+ *	@ap: target port
  *	@sdev: SCSI device to get identify data for
  *	@sdev: SCSI device to get identify data for
  *	@arg: User buffer area for identify data
  *	@arg: User buffer area for identify data
  *
  *