OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d7a20c
)
drm/etnaviv: use correct format specifier for size_t
author
Lucas Stach
<l.stach@pengutronix.de>
Thu, 18 Jan 2018 11:14:14 +0000
(12:14 +0100)
committer
Lucas Stach
<l.stach@pengutronix.de>
Mon, 12 Feb 2018 15:31:02 +0000
(16:31 +0100)
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_mmu.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/etnaviv/etnaviv_mmu.c
b/drivers/gpu/drm/etnaviv/etnaviv_mmu.c
index
d113fe0
..
49e0497
100644
(file)
--- a/
drivers/gpu/drm/etnaviv/etnaviv_mmu.c
+++ b/
drivers/gpu/drm/etnaviv/etnaviv_mmu.c
@@
-29,7
+29,7
@@
static void etnaviv_domain_unmap(struct etnaviv_iommu_domain *domain,
size_t pgsize = SZ_4K;
if (!IS_ALIGNED(iova | size, pgsize)) {
- pr_err("unaligned: iova 0x%lx size 0x%zx min_pagesz 0x%x\n",
+ pr_err("unaligned: iova 0x%lx size 0x%zx min_pagesz 0x%
z
x\n",
iova, size, pgsize);
return;
}
@@
-54,7
+54,7
@@
static int etnaviv_domain_map(struct etnaviv_iommu_domain *domain,
int ret = 0;
if (!IS_ALIGNED(iova | paddr | size, pgsize)) {
- pr_err("unaligned: iova 0x%lx pa %pa size 0x%zx min_pagesz 0x%x\n",
+ pr_err("unaligned: iova 0x%lx pa %pa size 0x%zx min_pagesz 0x%
z
x\n",
iova, &paddr, size, pgsize);
return -EINVAL;
}