ion: Use size_t-specific format
authorAndy Green <andy.green@linaro.org>
Tue, 6 Aug 2013 02:59:25 +0000 (19:59 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Fri, 18 Oct 2013 02:43:11 +0000 (19:43 -0700)
struct ion_platform_heap .size is a size_t, use %zu instead of %lu

Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/gpu/ion/ion_chunk_heap.c

index 15c9d7ad2502c4ccf0886093a6ded6928f98bc3a..cd01aad6ac2d996883c961fc7b7c00e5fcd43d1f 100644 (file)
@@ -188,8 +188,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;