diff options
author | xurui <xurui@kylinos.cn> | 2023-01-18 11:59:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-17 10:32:52 +0300 |
commit | 2fea235ef07fdbaa156948904943fe61352f6c2f (patch) | |
tree | 05f094fac267b587ed32f51ed976489bf36f50c3 /arch/mips/include/asm/mach-rc32434 | |
parent | 6b06c4ae64e3557a19b3bb0b6dbf641bc41fc218 (diff) | |
download | linux-2fea235ef07fdbaa156948904943fe61352f6c2f.tar.xz |
MIPS: Fix a compilation issue
[ Upstream commit 109d587a4b4d7ccca2200ab1f808f43ae23e2585 ]
arch/mips/include/asm/mach-rc32434/pci.h:377:
cc1: error: result of β-117440512 << 16β requires 44 bits to represent, but βintβ only has 32 bits [-Werror=shift-overflow=]
All bits in KORINA_STAT are already at the correct position, so there is
no addtional shift needed.
Signed-off-by: xurui <xurui@kylinos.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/mips/include/asm/mach-rc32434')
-rw-r--r-- | arch/mips/include/asm/mach-rc32434/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-rc32434/pci.h b/arch/mips/include/asm/mach-rc32434/pci.h index 6f40d1515580..1ff8a987025c 100644 --- a/arch/mips/include/asm/mach-rc32434/pci.h +++ b/arch/mips/include/asm/mach-rc32434/pci.h @@ -377,7 +377,7 @@ struct pci_msu { PCI_CFG04_STAT_SSE | \ PCI_CFG04_STAT_PE) -#define KORINA_CNFG1 ((KORINA_STAT<<16)|KORINA_CMD) +#define KORINA_CNFG1 (KORINA_STAT | KORINA_CMD) #define KORINA_REVID 0 #define KORINA_CLASS_CODE 0 |