Skip to content

Commit e70dc09

Browse files
Yang Lijonmason
authored andcommitted
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 <[email protected]> Signed-off-by: Yang Li <[email protected]> Signed-off-by: Jon Mason <[email protected]>
1 parent 0d5924e commit e70dc09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/ntb/msi.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,9 @@ static int ntbm_msi_setup_callback(struct ntb_dev *ntb, struct msi_desc *entry,
260260
* @handler: Function to be called when the IRQ occurs
261261
* @thread_fn: Function to be called in a threaded interrupt context. NULL
262262
* for clients which handle everything in @handler
263-
* @devname: An ascii name for the claiming device, dev_name(dev) if NULL
263+
* @name: An ascii name for the claiming device, dev_name(dev) if NULL
264264
* @dev_id: A cookie passed back to the handler function
265+
* @msi_desc: MSI descriptor data which triggers the interrupt
265266
*
266267
* This function assigns an interrupt handler to an unused
267268
* MSI interrupt and returns the descriptor used to trigger

0 commit comments

Comments
 (0)