xemu/hw/pci-host
Greg Kurz 5a205fcf77 pnv/phb3: Convert 1u to 1ull
As reported by Coverity defect CID 1419397, the 'j' variable goes up to
63 and shouldn't be used to left shift a 32-bit integer.

The result of the operation goes to a 64-bit integer : use a 64-bit
constant.

Reported-by: Coverity CID 1419397 Bad bit shift operation
Fixes: 9ae1329ee2 "ppc/pnv: Add models for POWER8 PHB3 PCIe Host bridge"
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <158153364010.3229002.8004283672455615950.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2020-02-21 09:15:04 +11:00
..
bonito.c hw: replace hw/i386/pc.h with a header just for the i8259 2019-12-17 19:33:49 +01:00
designware.c hw/pci-host/designware: Remove unuseful FALLTHROUGH comment 2020-01-24 20:59:08 +01:00
gpex.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
grackle.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
i440fx.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
Kconfig hw/pci-host: Add Kconfig entry to select the IGD Passthrough Host Bridge 2019-12-18 02:34:12 +01:00
Makefile.objs ppc/pnv: Add models for POWER8 PHB3 PCIe Host bridge 2020-02-02 14:07:57 +11:00
pam.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
pnv_phb3_msi.c pnv/phb3: Convert 1u to 1ull 2020-02-21 09:15:04 +11:00
pnv_phb3_pbcq.c ppc/pnv: change the PowerNV machine devices to be non user creatable 2020-02-02 14:07:57 +11:00
pnv_phb3.c ppc/pnv: change the PowerNV machine devices to be non user creatable 2020-02-02 14:07:57 +11:00
pnv_phb4_pec.c ppc/pnv: change the PowerNV machine devices to be non user creatable 2020-02-02 14:07:57 +11:00
pnv_phb4.c ppc/pnv: change the PowerNV machine devices to be non user creatable 2020-02-02 14:07:57 +11:00
ppce500.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
prep.c hw/core/loader: Let load_elf() populate a field with CPU-specific flags 2020-01-29 19:28:52 +01:00
q35.c * Register qdev properties as class properties (Marc-André) 2020-01-27 09:44:04 +00:00
sabre.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
uninorth.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
versatile.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
xen_igd_pt.c hw/pci-host/i440fx: Extract the IGD passthrough host bridge device 2019-12-18 02:34:12 +01:00
xilinx-pcie.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00