mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() For the MaxDevices 8-bit field of the request / response structures of the MPI_FUNCTION_IOC_INIT command, the 0x00 value means "max 256 devices". This is not a problem because when max_devices=256, its value (0x100), being casted to a uint8_t, is truncated to 0x00. However Coverity complains for an "Overflowed constant". Fix by re-using the request fields in the response, since they are not modified and use the same types. Fix: Coverity 1547736 (Overflowed constant) Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20250811095550.93655-1-philmd@linaro.org> |
6 days ago | |
---|---|---|
.. | ||
Kconfig | 2 years ago | |
emulation.c | 7 years ago | |
esp-pci.c | 5 months ago | |
esp.c | 2 months ago | |
lsi53c895a.c | 3 months ago | |
megasas.c | 3 months ago | |
meson.build | 2 years ago | |
mfi.h | 2 years ago | |
mpi.h | 10 years ago | |
mptconfig.c | 5 years ago | |
mptendian.c | 9 months ago | |
mptsas.c | 6 days ago | |
mptsas.h | 3 years ago | |
scsi-bus.c | 4 months ago | |
scsi-disk.c | 4 months ago | |
scsi-generic.c | 5 months ago | |
spapr_vscsi.c | 5 months ago | |
srp.h | ||
trace-events | 2 months ago | |
trace.h | 5 years ago | |
vhost-scsi-common.c | 4 months ago | |
vhost-scsi.c | 4 months ago | |
vhost-user-scsi.c | 4 months ago | |
viosrp.h | 3 years ago | |
virtio-scsi-dataplane.c | 6 months ago | |
virtio-scsi.c | 5 months ago | |
vmw_pvscsi.c | 3 months ago | |
vmw_pvscsi.h | 2 months ago |