qemu-e2k/linux-user
Richard Henderson 0798da8df9 linux-user/ppc: Narrow type of ccr in save_user_regs
Coverity warns that we shift a 32-bit value by N, and then
accumulate it into a 64-bit type (target_ulong on ppc64).

The ccr is always 8 * 4-bit fields, and thus is always a
32-bit quantity; narrow the type to avoid the warning.

Fixes: Coverity CID 1487223
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20220401191643.330393-1-richard.henderson@linaro.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
2022-04-04 08:49:06 +02:00
..
aarch64
alpha
arm linux-user/arm: Implement __kernel_cmpxchg64 with host atomics 2022-03-23 16:53:17 +01:00
cris
generic
hexagon
hppa
i386 linux-user: Add missing "qemu/timer.h" include 2022-02-21 10:18:06 +01:00
include ppc64: Avoid pt_regs struct definition 2022-03-20 23:35:27 +01:00
m68k
microblaze
mips
mips64
nios2
openrisc
ppc linux-user/ppc: Narrow type of ccr in save_user_regs 2022-04-04 08:49:06 +02:00
riscv
s390x
sh4 linux-user/sh4/termbits: Silence warning about TIOCSER_TEMT double definition 2022-03-31 21:27:02 +02:00
sparc
x86_64
xtensa
cpu_loop-common.h
elfload.c linux-user: Fix missing space in error message 2022-03-22 13:06:21 +01:00
errnos.c.inc
exit.c
fd-trans.c
fd-trans.h
flat.h
flatload.c
ioctls.h
linux_loop.h
linuxload.c
loader.h
main.c
meson.build
mmap.c
qemu.h
semihost.c
signal-common.h linux-user: Split out helpers for sigsuspend 2022-03-22 13:06:21 +01:00
signal.c linux-user: Split out helpers for sigsuspend 2022-03-22 13:06:21 +01:00
socket.h
strace.c
strace.h
strace.list
syscall_defs.h linux-user: Remove the deprecated ppc64abi32 target 2022-02-09 13:29:38 +00:00
syscall_types.h
syscall.c linux-user: Properly handle sigset arg to ppoll 2022-03-22 13:06:21 +01:00
target_flat.h
thunk.c
trace-events
trace.h
uaccess.c
uname.c
uname.h
user-internals.h linux-user: Fix syscall parameter handling for MIPS n32 2022-03-22 13:06:21 +01:00
user-mmap.h
vm86.c