summaryrefslogtreecommitdiffstats
path: root/drivers/ntb
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-12-22 09:55:13 +0800
committerJon Mason <jdmason@kudzu.us>2022-01-11 15:38:59 -0500
commite70dc094265c0418bbd895d9657611ac8d509a1c (patch)
tree2d0741210228ca03c39ae58c77cba46115add8a7 /drivers/ntb
parent0d5924ec4b89613910366c890305e46821a31f01 (diff)
downloadlinux-e70dc094265c0418bbd895d9657611ac8d509a1c.tar.gz
linux-e70dc094265c0418bbd895d9657611ac8d509a1c.tar.bz2
linux-e70dc094265c0418bbd895d9657611ac8d509a1c.zip
NTB/msi: Fix ntbm_msi_request_threaded_irq() kernel-doc comment
Add the description of @msi_desc and change the @devname to @name in ntbm_msi_request_threaded_irq() kernel-doc comment to remove some warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. drivers/ntb/msi.c:285: warning: Function parameter or member 'name' not described in 'ntbm_msi_request_threaded_irq' drivers/ntb/msi.c:285: warning: Function parameter or member 'msi_desc' not described in 'ntbm_msi_request_threaded_irq' drivers/ntb/msi.c:285: warning: Excess function parameter 'devname' description in 'ntbm_msi_request_threaded_irq' Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ntb')
-rw-r--r--drivers/ntb/msi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ntb/msi.c b/drivers/ntb/msi.c
index 3f05cfbc73af..60953cf54af6 100644
--- a/drivers/ntb/msi.c
+++ b/drivers/ntb/msi.c
@@ -260,8 +260,9 @@ static int ntbm_msi_setup_callback(struct ntb_dev *ntb, struct msi_desc *entry,
* @handler: Function to be called when the IRQ occurs
* @thread_fn: Function to be called in a threaded interrupt context. NULL
* for clients which handle everything in @handler
- * @devname: An ascii name for the claiming device, dev_name(dev) if NULL
+ * @name: An ascii name for the claiming device, dev_name(dev) if NULL
* @dev_id: A cookie passed back to the handler function
+ * @msi_desc: MSI descriptor data which triggers the interrupt
*
* This function assigns an interrupt handler to an unused
* MSI interrupt and returns the descriptor used to trigger