summary refs log tree commit diff stats
path: root/hw/i386/x86.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-07-01 14:23:00 +0100
committerMichael S. Tsirkin <mst@redhat.com>2022-07-26 10:40:58 -0400
commitcb70b7e8712e17e5761a7447defdce5572cd4b80 (patch)
tree8ce77afe08e8fa82a99643fce4943e8b0d6bb374 /hw/i386/x86.c
parent4a447a710c523392b09391232d5a3dfb156a9d75 (diff)
downloadfocaccia-qemu-cb70b7e8712e17e5761a7447defdce5572cd4b80.tar.gz
focaccia-qemu-cb70b7e8712e17e5761a7447defdce5572cd4b80.zip
hw/cxl: Fix size of constant in interleave granularity function.
Whilst the interleave granularity is always small enough that this isn't
a real problem (much less than 4GiB) let's change the constant
to ULL to fix the coverity warning.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Fixes: 829de299d1 ("hw/cxl/component: Add utils for interleave parameter encoding/decoding")
Fixes: Coverity CID 1488868
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <20220701132300.2264-4-Jonathan.Cameron@huawei.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/x86.c')
0 files changed, 0 insertions, 0 deletions