summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2019-12-16 01:21:34 +0100
committerMichael S. Tsirkin2020-01-05 13:03:03 +0100
commitf2a7e8f170252081ff48b99f34dbd1f0211d7938 (patch)
tree31a1b10818c81a2be177fcc83e49fb585c718011 /docs
parenthw/pci/pci_host: Remove redundant PCI_DPRINTF() (diff)
downloadqemu-f2a7e8f170252081ff48b99f34dbd1f0211d7938.tar.gz
qemu-f2a7e8f170252081ff48b99f34dbd1f0211d7938.tar.xz
qemu-f2a7e8f170252081ff48b99f34dbd1f0211d7938.zip
hw/pci/pci_host: Let pci_data_[read/write] use unsigned 'size' argument
Both functions are called by MemoryRegionOps.[read/write] handlers with unsigned 'size' argument. Both functions call pci_host_config_[read/write]_common() which expect a uint32_t 'len' parameter (also unsigned). Since it is pointless (and confuse) to use a signed value, use a unsigned type. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20191216002134.18279-3-philmd@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions