Commit b99bab4a authored by xurui's avatar xurui Committed by sanglipeng
Browse files

MIPS: Fix a compilation issue

stable inclusion
from stable-v5.10.175
commit 5ddcb0a348194b372e9f0d027ba7eedb6b5bd1e0
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8711T

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5ddcb0a348194b372e9f0d027ba7eedb6b5bd1e0



--------------------------------

[ Upstream commit 109d587a ]

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: default avatarxurui <xurui@kylinos.cn>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 96276f6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment