summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/nvmap
diff options
context:
space:
mode:
authorHiroshi DOYU <hdoyu@nvidia.com>2012-02-21 15:29:01 +0200
committerLokesh Pathak <lpathak@nvidia.com>2012-02-23 22:24:15 -0800
commit5faefcffab009466e2f3c426e38dedc32537b491 (patch)
tree6386220ce6db4566e41867e299491c866570de36 /drivers/video/tegra/nvmap
parent2e11ad144a36c2fe438bae13ca3259c1b5dbff6b (diff)
video: tegra: nvmap: Fix build warning
Use correct type. Change-Id: Iec3ec1624e4f14c36f02fbee6d838f4b2d188569 Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/84947 Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/nvmap')
-rw-r--r--drivers/video/tegra/nvmap/nvmap_dev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/tegra/nvmap/nvmap_dev.c b/drivers/video/tegra/nvmap/nvmap_dev.c
index c353505b9a05..b38f04c9670a 100644
--- a/drivers/video/tegra/nvmap/nvmap_dev.c
+++ b/drivers/video/tegra/nvmap/nvmap_dev.c
@@ -983,11 +983,11 @@ static void allocations_stringify(struct nvmap_client *client,
rb_entry(n, struct nvmap_handle_ref, node);
struct nvmap_handle *handle = ref->handle;
if (handle->alloc && !handle->heap_pgalloc) {
- seq_printf(s, "%-18s %-18s %8lx %10u %8lx\n", "", "",
+ seq_printf(s, "%-18s %-18s %8lx %10u %8x\n", "", "",
(unsigned long)(handle->carveout->base),
handle->size, handle->userflags);
} else if (handle->alloc && handle->heap_pgalloc) {
- seq_printf(s, "%-18s %-18s %8lx %10u %8lx\n", "", "",
+ seq_printf(s, "%-18s %-18s %8lx %10u %8x\n", "", "",
base, handle->size, handle->userflags);
}
}