[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210602101722.2276638-14-lee.jones@linaro.org>
Date: Wed, 2 Jun 2021 11:17:14 +0100
From: Lee Jones <lee.jones@...aro.org>
To: lee.jones@...aro.org
Cc: linux-kernel@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>,
Andre Hedrick <andre@...ux-ide.org>, linux-ide@...r.kernel.org
Subject: [PATCH 13/21] ide: siimage: Fix some incorrectly documented functions/params
Fixes the following W=1 kernel build warning(s):
drivers/ide/siimage.c:115: warning: Function parameter or member 'drive' not described in 'siimage_seldev'
drivers/ide/siimage.c:115: warning: Excess function parameter 'hwif' description in 'siimage_seldev'
drivers/ide/siimage.c:196: warning: expecting prototype for sil_udma_filter(). Prototype was for sil_pata_udma_filter() instead
Cc: "David S. Miller" <davem@...emloft.net>
Cc: Andre Hedrick <andre@...ux-ide.org>
Cc: linux-ide@...r.kernel.org
Signed-off-by: Lee Jones <lee.jones@...aro.org>
---
drivers/ide/siimage.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/ide/siimage.c b/drivers/ide/siimage.c
index c190dc6dfb50a..64fa6b253a824 100644
--- a/drivers/ide/siimage.c
+++ b/drivers/ide/siimage.c
@@ -103,7 +103,7 @@ static unsigned long siimage_selreg(ide_hwif_t *hwif, int r)
/**
* siimage_seldev - return register base
- * @hwif: interface
+ * @drive: interface
* @r: config offset
*
* Turn a config register offset into the right address in either
@@ -183,7 +183,7 @@ static void sil_iowrite32(struct pci_dev *dev, u32 val, unsigned long addr)
}
/**
- * sil_udma_filter - compute UDMA mask
+ * sil_pata_udma_filter - compute UDMA mask
* @drive: IDE device
*
* Compute the available UDMA speeds for the device on the interface.
--
2.31.1
Powered by blists - more mailing lists