From e6bce9ac74a4be60660f1222a4e92e9dde712561 Mon Sep 17 00:00:00 2001 From: Jianqun Xu Date: Thu, 19 May 2022 15:42:16 +0800 Subject: [PATCH] dma-buf: rk_heaps: rk-dma-heap fix dump name for dmabuf Fixes: 6cc665a6431d ("dma-buf: rk_heaps: rk-cma-heap replace orig_alloc by dmabuf->name") Signed-off-by: Jianqun Xu Change-Id: I5e1634a26578730d0d8af66c543de5566f6617b3 --- drivers/dma-buf/rk_heaps/rk-dma-heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma-buf/rk_heaps/rk-dma-heap.c b/drivers/dma-buf/rk_heaps/rk-dma-heap.c index 311d2ec93879..d93d7cd3097d 100644 --- a/drivers/dma-buf/rk_heaps/rk-dma-heap.c +++ b/drivers/dma-buf/rk_heaps/rk-dma-heap.c @@ -503,7 +503,7 @@ static int rk_dma_heap_dump_dmabuf(const struct dma_buf *dmabuf, void *data) size = buf->end - buf->start + 1; seq_printf(heap->s, "\tAlloc by (%-20s)\t[%pa-%pa]\t%pa (%lu KiB)\n", - buf->orig_alloc, &buf->start, + dmabuf->name, &buf->start, &buf->end, &size, K(size)); seq_puts(heap->s, "\t\tAttached Devices:\n"); attach_count = 0;