aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJoerg Roedel <[email protected]>2021-06-07 14:49:05 +0200
committerJoerg Roedel <[email protected]>2021-06-08 14:15:47 +0200
commit7154cbd31c2069726cf730b0ed94e2e79a221602 (patch)
tree0344c6252e3f45fc7e173306115b905a3e5dccd5 /lib/mpi/mpi-sub-ui.c
parenta4099d47535fa588e663a29cb1a725a24edae463 (diff)
iommu/dma: Fix compile warning in 32-bit builds
Compiling the recent dma-iommu changes under 32-bit x86 triggers this compile warning: drivers/iommu/dma-iommu.c:249:5: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘phys_addr_t’ {aka ‘unsigned int’} [-Wformat=] The reason is that %llx is used to print a variable of type phys_addr_t. Fix it by using the correct %pa format specifier for phys_addr_t. Cc: Srinath Mannam <[email protected]> Cc: Robin Murphy <[email protected]> Cc: Oza Pawandeep <[email protected]> Fixes: 571f316074a20 ("iommu/dma: Fix IOVA reserve dma ranges") Signed-off-by: Joerg Roedel <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions