diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-03-03 21:27:49 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-03-04 16:24:46 +0100 |
commit | 6135a891dc0bc43265cd583614419e04f3fd42b4 (patch) | |
tree | f5d7b276908e9d7ffb922d3cbe276828bccc6370 /init | |
parent | f2ce16c3c15e90f8279ccda8deeb24682a4a3706 (diff) | |
download | linux-stable-6135a891dc0bc43265cd583614419e04f3fd42b4.tar.gz linux-stable-6135a891dc0bc43265cd583614419e04f3fd42b4.tar.bz2 linux-stable-6135a891dc0bc43265cd583614419e04f3fd42b4.zip |
iommu/omap: Fix printing format for size_t on 64-bit
Print size_t as %zu or %zx to fix -Wformat warnings when compiling on
64-bit platform (e.g. with COMPILE_TEST):
drivers/iommu/omap-iommu.c: In function ‘flush_iotlb_page’:
drivers/iommu/omap-iommu.c:437:47: warning:
format ‘%x’ expects argument of type ‘unsigned int’,
but argument 7 has type ‘size_t {aka long unsigned int}’ [-Wformat=]
Acked-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions