Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ata: pata_acpi: Fix some incorrect function param descriptions

Fixes the following W=1 kernel build warning(s):

drivers/ata/pata_acpi.c:38: warning: Function parameter or member 'link' not described in 'pacpi_pre_reset'
drivers/ata/pata_acpi.c:38: warning: Excess function parameter 'ap' description in 'pacpi_pre_reset'
drivers/ata/pata_acpi.c:74: warning: Function parameter or member 'ap' not described in 'pacpi_discover_modes'
drivers/ata/pata_acpi.c:74: warning: Excess function parameter 'mask' description in 'pacpi_discover_modes'
drivers/ata/pata_acpi.c:239: warning: Function parameter or member 'id' not described in 'pacpi_init_one'
drivers/ata/pata_acpi.c:239: warning: Excess function parameter 'ent' description in 'pacpi_init_one'

Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210318085150.3131936-16-lee.jones@linaro.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Lee Jones and committed by
Jens Axboe
ff237990 c86a2a28

+3 -3
+3 -3
drivers/ata/pata_acpi.c
··· 28 28 29 29 /** 30 30 * pacpi_pre_reset - check for 40/80 pin 31 - * @ap: Port 31 + * @link: ATA link 32 32 * @deadline: deadline jiffies for the operation 33 33 * 34 34 * Perform the PATA port setup we need. ··· 63 63 64 64 /** 65 65 * pacpi_discover_modes - filter non ACPI modes 66 + * @ap: ATA port 66 67 * @adev: ATA device 67 - * @mask: proposed modes 68 68 * 69 69 * Try the modes available and see which ones the ACPI method will 70 70 * set up sensibly. From this we get a mask of ACPI modes we can use ··· 224 224 /** 225 225 * pacpi_init_one - Register ACPI ATA PCI device with kernel services 226 226 * @pdev: PCI device to register 227 - * @ent: Entry in pacpi_pci_tbl matching with @pdev 227 + * @id: PCI device ID 228 228 * 229 229 * Called from kernel PCI layer. 230 230 *