Skip to content

Commit 9239864

Browse files
jamesequinlanpopcornmix
authored andcommitted
PCI: brcmstb: Clarify conversion of irq_domain_set_info() param
Just make it clear to the reader that there is a conversion happening, in this case from an int type to an irq_hw_number_t, an unsigned long int. Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
1 parent 4b29e39 commit 9239864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/controller/pcie-brcmstb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ static int brcm_irq_domain_alloc(struct irq_domain *domain, unsigned int virq,
559559
return hwirq;
560560

561561
for (i = 0; i < nr_irqs; i++)
562-
irq_domain_set_info(domain, virq + i, hwirq + i,
562+
irq_domain_set_info(domain, virq + i, (irq_hw_number_t)hwirq + i,
563563
&brcm_msi_bottom_irq_chip, domain->host_data,
564564
handle_edge_irq, NULL, NULL);
565565
return 0;

0 commit comments

Comments
 (0)