diff options
author | Lee Jones <lee.jones@linaro.org> | 2021-02-01 15:39:37 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-12 15:28:31 +0100 |
commit | a446e2fb552207d33ac08b609e997f2e4a501288 (patch) | |
tree | 2e3517529ddefe93f2f99dcd6e4a01f1dc31ff51 /drivers/ata | |
parent | ata: pata_hpt3x2n: Fix possible doc-rotted function name (diff) | |
download | linux-a446e2fb552207d33ac08b609e997f2e4a501288.tar.xz linux-a446e2fb552207d33ac08b609e997f2e4a501288.zip |
ata: pata_marvell: Fix incorrectly documented function parameter
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>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/pata_marvell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_marvell.c b/drivers/ata/pata_marvell.c index b066809ba9a1..361597d14c56 100644 --- a/drivers/ata/pata_marvell.c +++ b/drivers/ata/pata_marvell.c @@ -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. * |