]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Fix a compilation issue
authorxurui <xurui@kylinos.cn>
Wed, 18 Jan 2023 08:59:12 +0000 (16:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:50:30 +0000 (08:50 +0100)
commit8886cc83545d2f91dd0f756ce1bcba59bf3a56f1
tree0f52173f5680e096052d7713afd9fcce1aefbed7
parentfd6e2689caaba068050a160827a76e663cb1e8cd
MIPS: Fix a compilation issue

[ Upstream commit 13c0f8625c04a43796f0520bcf1eec41cdc26487 ]

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>
arch/mips/include/asm/mach-rc32434/pci.h