diff options
author | Xiaojuan Yang <yangxiaojuan@loongson.cn> | 2022-07-15 14:07:39 +0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2022-07-19 21:53:58 +0530 |
commit | 2b3ef8e5c607130dc5a70f12cc7c6ee68c3844df (patch) | |
tree | 4a1adeae08907ddc87658af34f54e6f42c69af94 /qemu-edid.c | |
parent | e4ad16f49227be90838511deb03480dc720e76bf (diff) | |
download | qemu-2b3ef8e5c607130dc5a70f12cc7c6ee68c3844df.zip qemu-2b3ef8e5c607130dc5a70f12cc7c6ee68c3844df.tar.gz qemu-2b3ef8e5c607130dc5a70f12cc7c6ee68c3844df.tar.bz2 |
target/loongarch/tlb_helper: Fix coverity integer overflow error
Replace '1 << shift' with 'MAKE_64BIT_MASK(shift, 1)' to fix
unintentional integer overflow errors in tlb_helper file.
Fix coverity CID: 1489759 1489762
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220715060740.1500628-5-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'qemu-edid.c')
0 files changed, 0 insertions, 0 deletions