summaryrefslogtreecommitdiff
path: root/drivers/iommu/exynos-iommu.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-02-01 19:42:02 +0300
committerDoug Ledford <dledford@redhat.com>2016-03-01 01:10:15 +0300
commit3021376d6d12dd1be8a0a13c16dae8badb7766fd (patch)
tree1a06d68ee00e30683b56fd3590a9423337494f03 /drivers/iommu/exynos-iommu.c
parentee30f7d507c0f3b3499bbe84d14849a6b5ac9484 (diff)
downloadlinux-3021376d6d12dd1be8a0a13c16dae8badb7766fd.tar.xz
infiniband: cxgb4: use %pR format string for printing resources
The cxgb4 prints an MMIO resource using the "0x%x" and "%p" format strings on the length and start, respective, but that triggers a compiler warning when using a 64-bit resource_size_t on a 32-bit architecture: drivers/infiniband/hw/cxgb4/device.c: In function 'c4iw_rdev_open': drivers/infiniband/hw/cxgb4/device.c:807:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *)pci_resource_start(rdev->lldi.pdev, 2), This changes the format string to use %pR instead, which pretty-prints the resource, avoids the warning and is shorter. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/iommu/exynos-iommu.c')
0 files changed, 0 insertions, 0 deletions