diff options
author | Lee Jones <lee.jones@linaro.org> | 2021-02-01 15:39:31 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-12 15:28:30 +0100 |
commit | 764e3bc4e95b5353da039da382968580124253ec (patch) | |
tree | 0602c50eda1d7291ec3c39d1e4f3e46c9be49b79 /drivers/ata | |
parent | ata: sata_mv: Fix worthy headers and demote others (diff) | |
download | linux-764e3bc4e95b5353da039da382968580124253ec.tar.xz linux-764e3bc4e95b5353da039da382968580124253ec.zip |
ata: pata_ali: Supply description for 'ali_20_filter()'s 'mask' param
Fixes the following W=1 kernel build warning(s):
drivers/ata/pata_ali.c:119: warning: Function parameter or member 'mask' not described in 'ali_20_filter'
Cc: Jens Axboe <axboe@kernel.dk>
Cc: CJ <cjtsai@ali.com.tw>
Cc: Andre Hedrick <andre@linux-ide.org>
Cc: Alan Cox <alan@redhat.com>
Cc: Clear Zhang <Clear.Zhang@ali.com.tw>
Cc: linux-ide@vger.kernel.org
Cc: and cc <htejun@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/pata_ali.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_ali.c b/drivers/ata/pata_ali.c index e18aa02f8953..557ecf466102 100644 --- a/drivers/ata/pata_ali.c +++ b/drivers/ata/pata_ali.c @@ -109,7 +109,7 @@ static int ali_c2_cable_detect(struct ata_port *ap) /** * ali_20_filter - filter for earlier ALI DMA * @adev: ATA device - * @adev: attached device + * @mask: received mask to manipulate and pass back * * Ensure that we do not do DMA on CD devices. We may be able to * fix that later on. Also ensure we do not do UDMA on WDC drives |