|
@@ -1003,8 +1003,8 @@ static int ion_mmap(struct dma_buf *dmabuf, struct vm_area_struct *vma)
|
|
|
int ret = 0;
|
|
|
|
|
|
if (!buffer->heap->ops->map_user) {
|
|
|
- pr_err("%s: this heap does not define a method for mapping "
|
|
|
- "to userspace\n", __func__);
|
|
|
+ pr_err("%s: this heap does not define a method for mapping to userspace\n",
|
|
|
+ __func__);
|
|
|
return -EINVAL;
|
|
|
}
|
|
|
|
|
@@ -1407,8 +1407,7 @@ static int ion_debug_heap_show(struct seq_file *s, void *unused)
|
|
|
}
|
|
|
}
|
|
|
seq_printf(s, "----------------------------------------------------\n");
|
|
|
- seq_printf(s, "orphaned allocations (info is from last known client):"
|
|
|
- "\n");
|
|
|
+ seq_printf(s, "orphaned allocations (info is from last known client):\n");
|
|
|
mutex_lock(&dev->buffer_lock);
|
|
|
for (n = rb_first(&dev->buffers); n; n = rb_next(n)) {
|
|
|
struct ion_buffer *buffer = rb_entry(n, struct ion_buffer,
|