]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ata: libata: Fix W=1 compilation warning
authorDamien Le Moal <dlemoal@kernel.org>
Sat, 7 Sep 2024 01:56:32 +0000 (10:56 +0900)
committerDamien Le Moal <dlemoal@kernel.org>
Sat, 7 Sep 2024 02:02:52 +0000 (11:02 +0900)
commitd647bdf4d080208b71a205ec19a1c9f18ca83f00
tree4e48fc339aca6f6324e71e4e043620dbee996118
parent602bcf212637633d537ee74bf39c6bc5722efb9b
ata: libata: Fix W=1 compilation warning

Commit c494708d1f68 ("ata: libata: Cleanup libata-transport")
inadvertently changed the name of the link argument to ata_link in the
kdoc description of ata_tlink_add(), causing warnings to be issue when
compiling with W=1:

drivers/ata/libata-transport.c:690: warning: Function parameter or
struct member 'link' not described in 'ata_tlink_add'
drivers/ata/libata-transport.c:690: warning: Excess function parameter
'ata_link' description in 'ata_tlink_add'

Change the kdoc argument name to "link" to avoid these warnings.

Fixes: c494708d1f68 ("ata: libata: Cleanup libata-transport")
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
drivers/ata/libata-transport.c