[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240329001542.8099-1-peter.colberg@intel.com>
Date: Thu, 28 Mar 2024 20:15:42 -0400
From: Peter Colberg <peter.colberg@...el.com>
To: Wu Hao <hao.wu@...el.com>,
Tom Rix <trix@...hat.com>,
Moritz Fischer <mdf@...nel.org>,
Xu Yilun <yilun.xu@...el.com>,
Alan Tull <atull@...nel.org>,
Shiva Rao <shiva.rao@...el.com>,
Kang Luwei <luwei.kang@...el.com>,
Enno Luebbers <enno.luebbers@...el.com>,
linux-fpga@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Russ Weight <russ.weight@...ux.dev>,
Marco Pagani <marpagan@...hat.com>,
Matthew Gerlach <matthew.gerlach@...ux.intel.com>,
kernel test robot <lkp@...el.com>,
Peter Colberg <peter.colberg@...el.com>
Subject: [PATCH] fpga: dfl: fme: fix kernel-doc comments for some functions
From: Xu Yilun <yilun.xu@...el.com>
lkp reported 2 build warnings:
drivers/fpga/dfl/dfl-fme-pr.c:175: warning: Function parameter or member 'feature' not described in 'dfl_fme_create_mgr'
>> drivers/fpga/dfl/dfl-fme-pr.c:280: warning: expecting prototype for
>> dfl_fme_destroy_bridge(). Prototype was for dfl_fme_destroy_bridges()
>> instead
Fixes: 29de76240e86 ("fpga: dfl: fme: add partial reconfiguration sub feature support")
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Xu Yilun <yilun.xu@...el.com>
Signed-off-by: Peter Colberg <peter.colberg@...el.com>
---
drivers/fpga/dfl-fme-pr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/fpga/dfl-fme-pr.c b/drivers/fpga/dfl-fme-pr.c
index cdcf6dea4cc9..96cb24787ab1 100644
--- a/drivers/fpga/dfl-fme-pr.c
+++ b/drivers/fpga/dfl-fme-pr.c
@@ -166,6 +166,7 @@ static int fme_pr(struct platform_device *pdev, unsigned long arg)
* dfl_fme_create_mgr - create fpga mgr platform device as child device
* @feature: sub feature info
* @pdata: fme platform_device's pdata
+ * @feature: the dfl fme PR sub feature
*
* Return: mgr platform device if successful, and error code otherwise.
*/
@@ -273,7 +274,7 @@ static void dfl_fme_destroy_bridge(struct dfl_fme_bridge *fme_br)
}
/**
- * dfl_fme_destroy_bridges - destroy all fpga bridge platform device
+ * dfl_fme_destroy_bridges - destroy all fpga bridge platform devices
* @pdata: fme platform device's pdata
*/
static void dfl_fme_destroy_bridges(struct dfl_feature_platform_data *pdata)
--
2.44.0
Powered by blists - more mailing lists