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>
Tue, 6 Aug 2013 02:59:28 +0000 (19:59 -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 d5e7379a6f4659f85eeae1ed4c72fbc1f08917bd..8c8f5c3c55372ad18350ca591952cea369a7a9ba 100644 (file)
@@ -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;