diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-06-01 23:20:18 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-06-01 23:20:18 +0930 |
commit | 187cfa6fcd4c6ae7a7e68fc2b5de058613a1d4ea (patch) | |
tree | d4e12f4d5987608102c43e42a6f22ac68621b381 | |
parent | 4a4b6604f33445275c9a215dd1a58cd1d4fe8c65 (diff) | |
download | linux-virtio-pci-new-layout.tar.gz |
patch sparse-fixes.patchvirtio-pci-new-layout
-rw-r--r-- | drivers/virtio/virtio_pci_modern.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/virtio/virtio_pci_modern.c b/drivers/virtio/virtio_pci_modern.c index 6510009ec8231e..6798584669483c 100644 --- a/drivers/virtio/virtio_pci_modern.c +++ b/drivers/virtio/virtio_pci_modern.c @@ -38,14 +38,14 @@ static DEFINE_PCI_DEVICE_TABLE(virtio_pci_id_table) = { MODULE_DEVICE_TABLE(pci, virtio_pci_id_table); -static void iowrite64_twopart(u64 val, __le32 *lo, __le32 *hi) +static void iowrite64_twopart(u64 val, __le32 __iomem *lo, __le32 __iomem *hi) { iowrite32((u32)val, lo); iowrite32(val >> 32, hi); } /* There is no ioread64. We use two 32-bit ops. */ -static u64 ioread64_twopart(__le32 *lo, __le32 *hi) +static u64 ioread64_twopart(__le32 __iomem *lo, __le32 __iomem *hi) { return ioread32(lo) | ((u64)ioread32(hi) << 32); } |