pci: sorting out type confusion in pci_register_bar().
authorIsaku Yamahata <yamahata@valinux.co.jp>
Thu, 9 Sep 2010 02:48:55 +0000 (11:48 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 13 Sep 2010 19:03:51 +0000 (21:03 +0200)
commitcd8433219183ecf25b48640ca831f3fd8e7ba677
treece35eb2c636b8b15452edf6bf71bfb4f4cd3a2d8
parent9a05babcc6f5ff4990cc0b30e363016c8a8e5d45
pci: sorting out type confusion in pci_register_bar().

This patch sorts out invalid use of pcibus_t.

In pci_register_bar(), pcibus_t wmask is used.  It should,
however, be uint64_t because it is used to set
pci configuration space value(PCIDevice::wmask)
by pci_set_quad() or pci_set_long().

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci.c