From: Lee Jones Date: Mon, 1 Feb 2021 14:39:38 +0000 (+0000) Subject: ata: pata_jmicron: Fix incorrectly documented function parameter X-Git-Tag: v5.15~1257^2~33 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efd2cbe82f503e6fa3509987c7d46f39c7bd37a1;p=platform%2Fkernel%2Flinux-starfive.git ata: pata_jmicron: Fix incorrectly documented function parameter Fixes the following W=1 kernel build warning(s): drivers/ata/pata_jmicron.c:135: warning: Function parameter or member 'id' not described in 'jmicron_init_one' drivers/ata/pata_jmicron.c:135: warning: Excess function parameter 'ent' description in 'jmicron_init_one' Cc: Jens Axboe Cc: linux-ide@vger.kernel.org Signed-off-by: Lee Jones Signed-off-by: Jens Axboe --- diff --git a/drivers/ata/pata_jmicron.c b/drivers/ata/pata_jmicron.c index c3dedd3..d1b3ce89 100644 --- a/drivers/ata/pata_jmicron.c +++ b/drivers/ata/pata_jmicron.c @@ -120,7 +120,7 @@ static struct ata_port_operations jmicron_ops = { /** * jmicron_init_one - Register Jmicron ATA PCI device with kernel services * @pdev: PCI device to register - * @ent: Entry in jmicron_pci_tbl matching with @pdev + * @id: PCI device ID * * Called from kernel PCI layer. *