From 80475b849b90d8bed1fe768c496280f4b5c11410 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Mon, 5 Aug 2013 19:59:25 -0700 Subject: [PATCH] ion: Use size_t-specific format struct ion_platform_heap .size is a size_t, use %zu instead of %lu Signed-off-by: Andy Green Signed-off-by: John Stultz --- drivers/gpu/ion/ion_chunk_heap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/ion/ion_chunk_heap.c b/drivers/gpu/ion/ion_chunk_heap.c index d5e7379a6f46..8c8f5c3c5537 100644 --- a/drivers/gpu/ion/ion_chunk_heap.c +++ b/drivers/gpu/ion/ion_chunk_heap.c @@ -185,8 +185,8 @@ struct ion_heap *ion_chunk_heap_create(struct ion_platform_heap *heap_data) chunk_heap->heap.ops = &chunk_heap_ops; chunk_heap->heap.type = ION_HEAP_TYPE_CHUNK; chunk_heap->heap.flags = ION_HEAP_FLAG_DEFER_FREE; - pr_info("%s: base %lu size %u align %ld\n", __func__, chunk_heap->base, - heap_data->size, heap_data->align); + pr_info("%s: base %lu size %zu align %ld\n", __func__, + chunk_heap->base, heap_data->size, heap_data->align); return &chunk_heap->heap; -- 2.34.1