From: Lee Jones Date: Mon, 1 Feb 2021 14:39:31 +0000 (+0000) Subject: ata: pata_ali: Supply description for 'ali_20_filter()'s 'mask' param X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=764e3bc4e95b5353da039da382968580124253ec;p=linux.git 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 Cc: CJ Cc: Andre Hedrick Cc: Alan Cox Cc: Clear Zhang Cc: linux-ide@vger.kernel.org Cc: and cc Signed-off-by: Lee Jones Signed-off-by: Jens Axboe --- diff --git a/drivers/ata/pata_ali.c b/drivers/ata/pata_ali.c index e18aa02f89530..557ecf4661022 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