From: Andy Green Date: Tue, 6 Aug 2013 02:59:25 +0000 (-0700) Subject: ion: Use size_t-specific format X-Git-Tag: firefly_0821_release~3680^2~4^2~41^2~7 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=de95de8f56ea0740944a18f500d50b41543e50af;p=firefly-linux-kernel-4.4.55.git 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 --- diff --git a/drivers/gpu/ion/ion_chunk_heap.c b/drivers/gpu/ion/ion_chunk_heap.c index 15c9d7ad2502..cd01aad6ac2d 100644 --- a/drivers/gpu/ion/ion_chunk_heap.c +++ b/drivers/gpu/ion/ion_chunk_heap.c @@ -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;