libata: fix kernel-doc warnings
PATCH 1/1 libata: fix kernel-doc warnings
From: Randy Dunlap <[email protected]>
Fix kernel-doc warnings in libata drivers.
One of them was in the wrong place.
Signed-off-by Randy Dunlap <[email protected]>
--- drivers/scsi/ata_piix.c | 3 ++- drivers/scsi/libata-core.c | 30 +++++++++++++++++------------- drivers/scsi/libata-scsi.c | 3 ++- 3 files changed, 21 insertions(+), 15 deletions(-)
drivers/scsi/ata_piix.c +2 -1
@@ -627,9 +627,10 @@ static int piix_disable_ahci(struct pci_/** * piix_check_450nx_errata - Check for problem 450NX setup +* @ata_dev: the PCI device to check * * Check for the present of 450NX errata #19 and errata #25. If -* they are found return an error code so we can turn off DMA +* they are found return an error code so we can turn off DMA. */ static int __devinit piix_check_450nx_errata (struct pci_dev *ata_dev)
drivers/scsi/libata-core.c +17 -13
@@ -4212,19 +4212,6 @@ err_out: } -/** -* ata_port_start - Set port up for dma. -* @ap: Port to initialize -* -* Called just after data structures for each port are -* initialized. Allocates space for PRD table. -* -* May be used as the port_start() entry in ata_port_operations. -* -* LOCKING: -* Inherited from caller. -*/ -/* * Execute a 'simple' command, that only consists of the opcode 'cmd' itself, * without filling any other registers
@@ -4276,6 +4263,8 @@ static int ata_start_drive(struct ata_po/** * ata_device_resume - wakeup a previously suspended devices +* @ap: target ata_port +* @dev: target ata_device * * Kick the drive back into action, by sending it an idle immediate * command and making sure its transfer mode matches between drive
@@ -4298,6 +4287,8 @@ int ata_device_resume(struct ata_port *a/** * ata_device_suspend - prepare a device for suspend +* @ap: target ata_port +* @dev: target ata_device * * Flush the cache on the drive, if appropriate, then issue a * standbynow command.
@@ -4315,6 +4306,19 @@ int ata_device_suspend(struct ata_port *return 0 ; } +/** +* ata_port_start - Set port up for dma. +* @ap: Port to initialize +* +* Called just after data structures for each port are +* initialized. Allocates space for PRD table. +* +* May be used as the port_start() entry in ata_port_operations. +* +* LOCKING: +* Inherited from caller. +*/ +int ata_port_start (struct ata_port *ap) {struct device *dev = ap->host_set->dev;
drivers/scsi/libata-scsi.c +2 -1
@@ -2517,7 +2517,8 @@ out_unlock:/** * ata_scsi_simulate - simulate SCSI command on ATA device -* @id: current IDENTIFY data for target device. +* @ap: target ata_port +* @dev: target ata_device * @cmd: SCSI command being sent to device. * @done: SCSI command completion function. *
---
Quoted 6 lines · Randy.Dunlap
From: Randy Dunlap <[email protected]>
Fix kernel-doc warnings in libata drivers.
One of them was in the wrong place.Signed-off-by Randy Dunlap <[email protected]>
I'm afraid I'm gonna have to ask you to wait a bit, until kernel.org pushes this latest libata-dev.git#upstream update to the outside world, and rediff.
Jeff