These patches were generated from: https://github.com/raspberrypi/linux/commits/rpi-6.12.y With the following command: git format-patch -N v6.12.27..HEAD (HEAD -> 8d3206ee456a5ecdf9ddbfd8e5e231e4f0cd716e) Exceptions: - (def)configs patches - github workflows patches - applied & reverted patches - readme patches - wireless patches Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
From dc14814a06ff6e00f1b70481849e28eb97d4eb95 Mon Sep 17 00:00:00 2001
|
|
From: Jim Quinlan <james.quinlan@broadcom.com>
|
|
Date: Fri, 14 Feb 2025 12:39:36 -0500
|
|
Subject: [PATCH] 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>
|
|
---
|
|
drivers/pci/controller/pcie-brcmstb.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- 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
|
|
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;
|