[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210602101722.2276638-15-lee.jones@linaro.org>
Date: Wed, 2 Jun 2021 11:17:15 +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>, linux-ide@...r.kernel.org
Subject: [PATCH 14/21] ide: via82cxxx: Fix misdocumentation of via_set_speed()'s 'hwif' param
Fixes the following W=1 kernel build warning(s):
drivers/ide/via82cxxx.c:122: warning: Function parameter or member 'hwif' not described in 'via_set_speed'
drivers/ide/via82cxxx.c:122: warning: Excess function parameter 'dev' description in 'via_set_speed'
Cc: "David S. Miller" <davem@...emloft.net>
Cc: linux-ide@...r.kernel.org
Signed-off-by: Lee Jones <lee.jones@...aro.org>
---
drivers/ide/via82cxxx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ide/via82cxxx.c b/drivers/ide/via82cxxx.c
index 166feaeed6e38..9beb25cfa5436 100644
--- a/drivers/ide/via82cxxx.c
+++ b/drivers/ide/via82cxxx.c
@@ -111,7 +111,7 @@ struct via82cxxx_dev
/**
* via_set_speed - write timing registers
- * @dev: PCI device
+ * @hwif: IDE interface
* @dn: device
* @timing: IDE timing data to use
*
--
2.31.1
Powered by blists - more mailing lists