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