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

ata: libata-transport: Fix some potential doc-rot issues

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

drivers/ata/libata-transport.c:258: warning: Function parameter or member 'ap' not described in 'ata_tport_delete'
drivers/ata/libata-transport.c:258: warning: Excess function parameter 'port' description in 'ata_tport_delete'
drivers/ata/libata-transport.c:384: warning: Function parameter or member 'link' not described in 'ata_tlink_delete'
drivers/ata/libata-transport.c:384: warning: Excess function parameter 'port' description in 'ata_tlink_delete'
drivers/ata/libata-transport.c:640: warning: Function parameter or member 'ata_dev' not described in 'ata_tdev_delete'
drivers/ata/libata-transport.c:640: warning: Excess function parameter 'port' description in 'ata_tdev_delete'

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>

authored by

Lee Jones and committed by
Jens Axboe
882184be 0ed0283f

+3 -3
+3 -3
drivers/ata/libata-transport.c
··· 250 250 251 251 /** 252 252 * ata_tport_delete -- remove ATA PORT 253 - * @port: ATA PORT to remove 253 + * @ap: ATA PORT to remove 254 254 * 255 255 * Removes the specified ATA PORT. Remove the associated link as well. 256 256 */ ··· 376 376 377 377 /** 378 378 * ata_tlink_delete -- remove ATA LINK 379 - * @port: ATA LINK to remove 379 + * @link: ATA LINK to remove 380 380 * 381 381 * Removes the specified ATA LINK. remove associated ATA device(s) as well. 382 382 */ ··· 632 632 633 633 /** 634 634 * ata_tdev_delete -- remove ATA device 635 - * @port: ATA PORT to remove 635 + * @ata_dev: ATA device to remove 636 636 * 637 637 * Removes the specified ATA device. 638 638 */