From d6c2aaaee4fb2574abfe75be3707a375db81e74d Mon Sep 17 00:00:00 2001 From: Lee Jones Date: Mon, 1 Feb 2021 14:39:27 +0000 Subject: [PATCH] ata: pata_hpt366: Provide missing description for 'hpt366_filter()'s 'mask' param Fixes the following W=1 kernel build warning(s): drivers/ata/pata_hpt366.c:200: warning: Function parameter or member 'mask' not described in 'hpt366_filter' Cc: Jens Axboe Cc: Andre Hedrick Cc: linux-ide@vger.kernel.org Signed-off-by: Lee Jones Signed-off-by: Jens Axboe --- drivers/ata/pata_hpt366.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/pata_hpt366.c b/drivers/ata/pata_hpt366.c index 2574d6f..06b7c4a 100644 --- a/drivers/ata/pata_hpt366.c +++ b/drivers/ata/pata_hpt366.c @@ -192,6 +192,7 @@ static int hpt_dma_blacklisted(const struct ata_device *dev, char *modestr, /** * hpt366_filter - mode selection filter * @adev: ATA device + * @mask: Current mask to manipulate and pass back * * Block UDMA on devices that cause trouble with this controller. */ -- 2.7.4