]> 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:32:52 +0000 (08:32 +0100)
commit4ab0606a77e87c97eab87f0a139f6002515b339e
tree05f094fac267b587ed32f51ed976489bf36f50c3
parentc6bbe761753959f5f97012b9725b9196a19adc07
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>
arch/mips/include/asm/mach-rc32434/pci.h