diff options
author | Colin Cross <ccross@android.com> | 2013-09-19 09:20:23 -0500 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2013-12-12 15:27:05 -0800 |
commit | 21e08b49ac311e3d1e9c7168de1bd42868176398 (patch) | |
tree | be017ad28ab0bd0eaba613ef3e485bd690da0e0b /drivers/staging/android/ion/ion_heap.c | |
parent | f26a6f2aa0beea7eeb0a2f69d44a5975ef8c887e (diff) |
ion: fix printk warnings
Use %z for size_t and %pa for dma_addr_t to avoid warnings in printks.
Change-Id: I2c72874acd0b69cb35fca691928783817deb9394
Signed-off-by: Colin Cross <ccross@android.com>
Diffstat (limited to 'drivers/staging/android/ion/ion_heap.c')
-rw-r--r-- | drivers/staging/android/ion/ion_heap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/android/ion/ion_heap.c b/drivers/staging/android/ion/ion_heap.c index f32f4e69765..5a93a0273fa 100644 --- a/drivers/staging/android/ion/ion_heap.c +++ b/drivers/staging/android/ion/ion_heap.c @@ -281,7 +281,7 @@ struct ion_heap *ion_heap_create(struct ion_platform_heap *heap_data) } if (IS_ERR_OR_NULL(heap)) { - pr_err("%s: error creating heap %s type %d base %lu size %u\n", + pr_err("%s: error creating heap %s type %d base %lu size %zu\n", __func__, heap_data->name, heap_data->type, heap_data->base, heap_data->size); return ERR_PTR(-EINVAL); |