Skip to contentSkip to conversation

kernel/irq/devres.c - fix kerneldoc comment

PATCH New Valdis Kl=?utf-8?Q?=c4=93?=tnieks 2 participants 2 messages Mar 12, 2019 – Mar 22, 2019 IRQ

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel/irq/devres.c - fix kerneldoc comment

Building with 'make W=1' complains:

CC kernel/irq/devres.o
kernel/irq/devres.c:104: warning: Excess function parameter 'thread_fn' description in 'devm_request_any_context_irq'

Fix up the kerneldoc comment

---

kernel/irq/devres.c +0 -2
index 5d5378ea0afe..f808c6a97dcc 100644
@@ -84,8 +84,6 @@ EXPORT_SYMBOL(devm_request_threaded_irq);
  *	@dev: device to request interrupt for
  *	@irq: Interrupt line to allocate
  *	@handler: Function to be called when the IRQ occurs
- *	@thread_fn: function to be called in a threaded interrupt context. NULL
- *		    for devices which handle everything in @handler
  *	@irqflags: Interrupt type flags
  *	@devname: An ascii name for the claiming device, dev_name(dev) if NULL
  *	@dev_id: A cookie passed back to the handler function
#1 lore raw

[tip:irq/urgent] genirq/devres: Remove excess parameter from kernel doc

genirq/devres: Remove excess parameter from kernel doc
Commit-ID:  bb2e320565f997273fe04035bb6c17f643da6f8a
Gitweb:     https://git.kernel.org/tip/bb2e320565f997273fe04035bb6c17f643da6f8a
Author:     Valdis Kletnieks <[email protected]>
AuthorDate: Tue, 12 Mar 2019 04:17:56 -0400
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Fri, 22 Mar 2019 13:34:12 +0100

genirq/devres: Remove excess parameter from kernel doc

Building with 'make W=1' complains:

CC kernel/irq/devres.o
kernel/irq/devres.c:104: warning: Excess function parameter 'thread_fn'
description in 'devm_request_any_context_irq'

Remove it.

---
 kernel/irq/devres.c | 2 --
 1 file changed, 2 deletions(-)
kernel/irq/devres.c +0 -2
index 5d5378ea0afe..f808c6a97dcc 100644
@@ -84,8 +84,6 @@ EXPORT_SYMBOL(devm_request_threaded_irq);
  *	@dev: device to request interrupt for
  *	@irq: Interrupt line to allocate
  *	@handler: Function to be called when the IRQ occurs
- *	@thread_fn: function to be called in a threaded interrupt context. NULL
- *		    for devices which handle everything in @handler
  *	@irqflags: Interrupt type flags
  *	@devname: An ascii name for the claiming device, dev_name(dev) if NULL
  *	@dev_id: A cookie passed back to the handler function