Skip to content

Commit 174cfcf

Browse files
jamesequinlankwilczynski
authored andcommitted
PCI: brcmstb: Make irq_domain_set_info() parameter cast explicit
Make the cast to the irq_hw_number_t type for the parameter passed to irq_domain_set_info() function explicit. Signed-off-by: Jim Quinlan <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected] [kwilczynski: commit log] Signed-off-by: Krzysztof Wilczyński <[email protected]>
1 parent a9ec9fb commit 174cfcf

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)