[PATCH] MIPS: Fix Macro name

Abhishek Tamboli posted 1 patch 9 months, 3 weeks ago
arch/mips/include/asm/mach-rc32434/pci.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] MIPS: Fix Macro name
Posted by Abhishek Tamboli 9 months, 3 weeks ago
Add missing underscore in PCI_CFGA_BUS macro definition for consistency.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=219744

Signed-off-by: Abhishek Tamboli <abhishektamboli9@gmail.com>
---
 arch/mips/include/asm/mach-rc32434/pci.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/include/asm/mach-rc32434/pci.h b/arch/mips/include/asm/mach-rc32434/pci.h
index 3eb767c8a4ee..e17ce82d02ba 100644
--- a/arch/mips/include/asm/mach-rc32434/pci.h
+++ b/arch/mips/include/asm/mach-rc32434/pci.h
@@ -167,7 +167,7 @@ struct pci_msu {
 #define PCI_CFGA_DEV		0x0000f800
 #define PCI_CFGA_DEV_INTERN	0
 #define PCI_CFGA_BUS_BIT	16
-#define PCI CFGA_BUS		0x00ff0000
+#define PCI_CFGA_BUS		0x00ff0000
 #define PCI_CFGA_BUS_TYPE0	0
 #define PCI_CFGA_EN		(1 << 31)

--
2.34.1
Re: [PATCH] MIPS: Fix Macro name
Posted by Thomas Bogendoerfer 9 months ago
On Fri, Feb 28, 2025 at 12:06:28AM +0530, Abhishek Tamboli wrote:
> Add missing underscore in PCI_CFGA_BUS macro definition for consistency.
> 
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=219744
> 
> Signed-off-by: Abhishek Tamboli <abhishektamboli9@gmail.com>
> ---
>  arch/mips/include/asm/mach-rc32434/pci.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/mips/include/asm/mach-rc32434/pci.h b/arch/mips/include/asm/mach-rc32434/pci.h
> index 3eb767c8a4ee..e17ce82d02ba 100644
> --- a/arch/mips/include/asm/mach-rc32434/pci.h
> +++ b/arch/mips/include/asm/mach-rc32434/pci.h
> @@ -167,7 +167,7 @@ struct pci_msu {
>  #define PCI_CFGA_DEV		0x0000f800
>  #define PCI_CFGA_DEV_INTERN	0
>  #define PCI_CFGA_BUS_BIT	16
> -#define PCI CFGA_BUS		0x00ff0000
> +#define PCI_CFGA_BUS		0x00ff0000
>  #define PCI_CFGA_BUS_TYPE0	0
>  #define PCI_CFGA_EN		(1 << 31)
> 
> --
> 2.34.1

applied to mips-next

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]