summary refs log tree commit diff stats
path: root/include/qemu/timer.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-03-15 14:40:04 -0600
committerLaurent Vivier <laurent@vivier.eu>2021-04-07 18:55:27 +0200
commit360f0abdc51652b06a3718ed43a8688562e69ca4 (patch)
tree1cabb7f09d56175334301eca8ae26a7b888b1c56 /include/qemu/timer.h
parentd0d3dd401b70168a353450e031727affee828527 (diff)
downloadfocaccia-qemu-360f0abdc51652b06a3718ed43a8688562e69ca4.tar.gz
focaccia-qemu-360f0abdc51652b06a3718ed43a8688562e69ca4.zip
linux-user: Use signed lengths in uaccess.c
Partially revert 09f679b62dff, but only for the length arguments.
Instead of reverting to long, use ssize_t.  Reinstate the > 0 check
in unlock_user.

Fixes: 09f679b62dff
Reported-by: Coverity (CID 1446711)
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210315204004.2025219-1-richard.henderson@linaro.org>
[lv: remove superfluous semicolon]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/qemu/timer.h')
0 files changed, 0 insertions, 0 deletions