Skip to content

Commit ebb92d5

Browse files
fenghusthurafaeljw
authored andcommitted
ACPI: irq: Fix some kernel-doc issues
The following commit change the second parameter of acpi_set_irq_model() but forgot to update the function description. Let's fix it. commit 7327b16 ("APCI: irq: Add support for multiple GSI domains") Also add description of parameter 'gsi' for acpi_get_irq_source_fwhandle() to avoid the following build W=1 warning. drivers/acpi/irq.c:108: warning: Function parameter or member 'gsi' not described in 'acpi_get_irq_source_fwhandle' Fixes: 7327b16 ("APCI: irq: Add support for multiple GSI domains") Signed-off-by: Xiongfeng Wang <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent f0c4d9f commit ebb92d5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/acpi/irq.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ EXPORT_SYMBOL_GPL(acpi_unregister_gsi);
9494
/**
9595
* acpi_get_irq_source_fwhandle() - Retrieve fwhandle from IRQ resource source.
9696
* @source: acpi_resource_source to use for the lookup.
97+
* @gsi: GSI IRQ number
9798
*
9899
* Description:
99100
* Retrieve the fwhandle of the device referenced by the given IRQ resource
@@ -297,8 +298,8 @@ EXPORT_SYMBOL_GPL(acpi_irq_get);
297298
/**
298299
* acpi_set_irq_model - Setup the GSI irqdomain information
299300
* @model: the value assigned to acpi_irq_model
300-
* @fwnode: the irq_domain identifier for mapping and looking up
301-
* GSI interrupts
301+
* @fn: a dispatcher function that will return the domain fwnode
302+
* for a given GSI
302303
*/
303304
void __init acpi_set_irq_model(enum acpi_irq_model_id model,
304305
struct fwnode_handle *(*fn)(u32))

0 commit comments

Comments
 (0)