diff options
author | Lee Jones <lee.jones@linaro.org> | 2021-02-01 17:39:38 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-12 17:28:31 +0300 |
commit | efd2cbe82f503e6fa3509987c7d46f39c7bd37a1 (patch) | |
tree | b8ea8c88cf1a70e58e331e9699cbf49ed497056f | |
parent | a446e2fb552207d33ac08b609e997f2e4a501288 (diff) | |
download | linux-efd2cbe82f503e6fa3509987c7d46f39c7bd37a1.tar.xz |
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 <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>
-rw-r--r-- | drivers/ata/pata_jmicron.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_jmicron.c b/drivers/ata/pata_jmicron.c index c3dedd3e71fb..d1b3ce8958dd 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. * |