ata: Fix several kernel-doc headers
Subsystems (2)
PATCH 1/1 ata: Fix several kernel-doc headers
Fix the kernel-doc warnings that are reported when building the ATA code with W=1. This patch only modifies source code comments.
--- drivers/ata/ata_generic.c | 2 +- drivers/ata/libata-acpi.c | 3 ++- drivers/ata/libata-pmp.c | 2 +- drivers/ata/libata-sata.c | 4 ++-- drivers/ata/libata-transport.c | 6 +++--- drivers/ata/pata_acpi.c | 6 +++--- drivers/ata/pata_marvell.c | 2 +- 7 files changed, 13 insertions(+), 12 deletions(-)
drivers/ata/ata_generic.c +1 -1
@@ -151,7 +151,7 @@ static int is_intel_ider(struct pci_dev *dev) }/** -* ata_generic_init - attach generic IDE +* ata_generic_init_one - attach generic IDE * @dev: PCI device found * @id: match entry *
drivers/ata/libata-acpi.c +2 -1
@@ -476,7 +476,7 @@ static int ata_dev_get_GTF(struct ata_device *dev, struct ata_acpi_gtf **gtf) }/** -* ata_acpi_gtm_xfermode - determine xfermode from GTM parameter +* ata_acpi_gtm_xfermask - determine xfermode from GTM parameter * @dev: target device * @gtm: GTM parameter to use *
@@ -624,6 +624,7 @@ static int ata_acpi_filter_tf(struct ata_device *dev,* ata_acpi_run_tf - send taskfile registers to host controller * @dev: target ATA device * @gtf: raw ATA taskfile register set (0x1f1 - 0x1f7) +* @prev_gtf: previous taskfile register set * * Outputs ATA taskfile to standard ATA host controller. * Writes the control, feature, nsect, lbal, lbam, and lbah registers.
drivers/ata/libata-pmp.c +1 -1
@@ -62,7 +62,7 @@ static unsigned int sata_pmp_read(struct ata_link *link, int reg, u32 *r_val)* sata_pmp_write - write PMP register * @link: link to write PMP register for * @reg: register to write -* @r_val: value to write +* @val: value to write * * Write PMP register. *
drivers/ata/libata-sata.c +2 -2
@@ -1067,7 +1067,7 @@ int ata_scsi_change_queue_depth(struct scsi_device *sdev, int queue_depth)EXPORT_SYMBOL_GPL (ata_scsi_change_queue_depth);/** -* port_alloc - Allocate port for a SAS attached SATA device +* ata_sas_port_alloc - Allocate port for a SAS attached SATA device * @host: ATA host container for all SAS ports * @port_info: Information from low-level host driver * @shost: SCSI host that the scsi device is attached to
@@ -1127,7 +1127,7 @@ int ata_sas_port_start(struct ata_port *ap)EXPORT_SYMBOL_GPL (ata_sas_port_start);/** -* ata_port_stop - Undo ata_sas_port_start() +* ata_sas_port_stop - Undo ata_sas_port_start() * @ap: Port to shut down * * May be used as the port_stop() entry in ata_port_operations.
drivers/ata/libata-transport.c +3 -3
@@ -250,7 +250,7 @@ static int ata_tport_match(struct attribute_container *cont,/** * ata_tport_delete -- remove ATA PORT -* @port: ATA PORT to remove +* @ap: ATA PORT to remove * * Removes the specified ATA PORT. Remove the associated link as well. */
@@ -376,7 +376,7 @@ static int ata_tlink_match(struct attribute_container *cont,/** * ata_tlink_delete -- remove ATA LINK -* @port: ATA LINK to remove +* @link: ATA LINK to remove * * Removes the specified ATA LINK. remove associated ATA device(s) as well. */
@@ -632,7 +632,7 @@ static void ata_tdev_free(struct ata_device *dev)/** * ata_tdev_delete -- remove ATA device -* @port: ATA PORT to remove +* @ata_dev: ATA PORT to remove * * Removes the specified ATA device. */
drivers/ata/pata_acpi.c +3 -3
@@ -28,7 +28,7 @@ struct pata_acpi {/** * pacpi_pre_reset - check for 40/80 pin -* @ap: Port +* @link: Port * @deadline: deadline jiffies for the operation * * Perform the PATA port setup we need.
@@ -63,8 +63,8 @@ static int pacpi_cable_detect(struct ata_port *ap)/** * pacpi_discover_modes - filter non ACPI modes +* @ap: ATA interface * @adev: ATA device -* @mask: proposed modes * * Try the modes available and see which ones the ACPI method will * set up sensibly. From this we get a mask of ACPI modes we can use
@@ -224,7 +224,7 @@ static struct ata_port_operations pacpi_ops = {/** * pacpi_init_one - Register ACPI ATA PCI device with kernel services * @pdev: PCI device to register -* @ent: Entry in pacpi_pci_tbl matching with @pdev +* @id: PCI device ID * * Called from kernel PCI layer. *
drivers/ata/pata_marvell.c +1 -1
@@ -110,7 +110,7 @@ static struct ata_port_operations marvell_ops = {/** * marvell_init_one - Register Marvell ATA PCI device with kernel services * @pdev: PCI device to register -* @ent: Entry in marvell_pci_tbl matching with @pdev +* @id: Entry in marvell_pci_tbl matching with @pdev * * Called from kernel PCI layer. *
Jens Axboe
maintainerQuoted 2 lines · Bart Van Assche
Fix the kernel-doc warnings that are reported when building the ATA code with W=1. This patch only modifies source code comments.
If you check for-5.13/libata, I think you'll find most/all of these already fixed.
Signature · 1 line
Jens Axboe
Quoted 6 lines · Jens Axboe
Quoted 2 lines · Bart Van Assche
Fix the kernel-doc warnings that are reported when building the ATA code with W=1. This patch only modifies source code comments.
If you check for-5.13/libata, I think you'll find most/all of these already fixed.
Right, I should have checked that branch before I posted this patch. My patch was prepared against the SCSI tree. Since all issues addressed by my patch have already been addressed in the for-5.13/libata branch I will drop my patch.
Bart.