diff options
| author | Jim Quinlan <[email protected]> | 2025-02-14 17:39:36 +0000 |
|---|---|---|
| committer | Krzysztof Wilczyński <[email protected]> | 2025-03-04 16:03:10 +0000 |
| commit | 174cfcf13daf98bc4411a5a24a797d2b2f5546cd (patch) | |
| tree | bb7af00b76b90ae7ea8bf90de40f12258a250e64 | |
| parent | PCI: brcmstb: Make two changes in MDIO register fields (diff) | |
| download | kernel-174cfcf13daf98bc4411a5a24a797d2b2f5546cd.tar.gz kernel-174cfcf13daf98bc4411a5a24a797d2b2f5546cd.zip | |
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]>
| -rw-r--r-- | drivers/pci/controller/pcie-brcmstb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/pcie-brcmstb.c b/drivers/pci/controller/pcie-brcmstb.c index ab25f674800d..df944453c53a 100644 --- a/drivers/pci/controller/pcie-brcmstb.c +++ b/drivers/pci/controller/pcie-brcmstb.c @@ -559,7 +559,7 @@ static int brcm_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, return hwirq; for (i = 0; i < nr_irqs; i++) - irq_domain_set_info(domain, virq + i, hwirq + i, + irq_domain_set_info(domain, virq + i, (irq_hw_number_t)hwirq + i, &brcm_msi_bottom_irq_chip, domain->host_data, handle_edge_irq, NULL, NULL); return 0; |
