Commit d647bdf4 authored by Damien Le Moal's avatar Damien Le Moal
Browse files

ata: libata: Fix W=1 compilation warning



Commit c494708d ("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: c494708d ("ata: libata: Cleanup libata-transport")
Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
parent 602bcf21
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment