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

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>

authored by

Lee Jones and committed by
Jens Axboe
764e3bc4 f3a23c2c

+1 -1
+1 -1
drivers/ata/pata_ali.c
··· 109 109 /** 110 110 * ali_20_filter - filter for earlier ALI DMA 111 111 * @adev: ATA device 112 - * @adev: attached device 112 + * @mask: received mask to manipulate and pass back 113 113 * 114 114 * Ensure that we do not do DMA on CD devices. We may be able to 115 115 * fix that later on. Also ensure we do not do UDMA on WDC drives