ata: pata_hpt366: Provide missing description for 'hpt366_filter()'s 'mask' param
authorLee Jones <lee.jones@linaro.org>
Mon, 1 Feb 2021 14:39:27 +0000 (14:39 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 12 Mar 2021 14:28:30 +0000 (07:28 -0700)
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 <axboe@kernel.dk>
Cc: Andre Hedrick <andre@linux-ide.org>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/pata_hpt366.c

index 2574d6fbb1ad33a37fea95186848754d710de2d3..06b7c4a9ec954c855a59783bf58f8725fbbe6a6f 100644 (file)
@@ -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.
  */