diff options
author | Alex Elder <elder@linaro.org> | 2021-02-01 17:26:09 -0600 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-02 08:48:15 -0800 |
commit | 113b6ea09ccd46157d8d37fa9fabf1ca2315e503 (patch) | |
tree | 7d02284e258da7692b7a34d474112658c1b9c322 /drivers | |
parent | c13899f187285eaa5bfc30f8692888ba2e7765cb (diff) | |
download | lwn-113b6ea09ccd46157d8d37fa9fabf1ca2315e503.tar.gz lwn-113b6ea09ccd46157d8d37fa9fabf1ca2315e503.zip |
net: ipa: fix two format specifier errors
Fix two format specifiers that used %lu for a size_t in "ipa_mem.c".
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ipa/ipa_mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ipa/ipa_mem.c b/drivers/net/ipa/ipa_mem.c index 0cc3a3374caa..f25029b9ec85 100644 --- a/drivers/net/ipa/ipa_mem.c +++ b/drivers/net/ipa/ipa_mem.c @@ -336,7 +336,7 @@ static void ipa_imem_exit(struct ipa *ipa) size = iommu_unmap(domain, ipa->imem_iova, ipa->imem_size); if (size != ipa->imem_size) - dev_warn(dev, "unmapped %zu IMEM bytes, expected %lu\n", + dev_warn(dev, "unmapped %zu IMEM bytes, expected %zu\n", size, ipa->imem_size); } else { dev_err(dev, "couldn't get IPA IOMMU domain for IMEM\n"); @@ -440,7 +440,7 @@ static void ipa_smem_exit(struct ipa *ipa) size = iommu_unmap(domain, ipa->smem_iova, ipa->smem_size); if (size != ipa->smem_size) - dev_warn(dev, "unmapped %zu SMEM bytes, expected %lu\n", + dev_warn(dev, "unmapped %zu SMEM bytes, expected %zu\n", size, ipa->smem_size); } else { |