ata: pata_marvell: Fix incorrectly documented function parameter
authorLee Jones <lee.jones@linaro.org>
Mon, 1 Feb 2021 14:39:37 +0000 (14:39 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 12 Mar 2021 14:28:31 +0000 (07:28 -0700)
Fixes the following W=1 kernel build warning(s):

 drivers/ata/pata_marvell.c:125: warning: Function parameter or member 'id' not described in 'marvell_init_one'
 drivers/ata/pata_marvell.c:125: warning: Excess function parameter 'ent' description in 'marvell_init_one'

Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/pata_marvell.c

index b066809..361597d 100644 (file)
@@ -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: PCI device ID
  *
  *     Called from kernel PCI layer.
  *