]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf: add the name field to the table header
authorYuanzheng Song <songyuanzheng@huawei.com>
Thu, 28 Apr 2022 06:39:24 +0000 (06:39 +0000)
committerSumit Semwal <sumit.semwal@linaro.org>
Tue, 10 May 2022 02:35:33 +0000 (08:05 +0530)
commite00ee21dd3c9cd717fcc0feccf9c155e9d6ccdcb
treefb35c3333667c4d41f4bb3f41e3314d3efa9ba7d
parent1783e5051a9aa56df2090ee9b5c682ff29826567
dma-buf: add the name field to the table header

'cat /sys/kernel/debug/dma_buf/bufinfo' will print the Dma-buf
Objects' information when the CONFIG_DEBUG_FS=y.
However, the printed table header information does not contain
the name field. So we need to add the name field to the table
header and use the '<none>' to replace the empty buf_obj->name.

Signed-off-by: Yuanzheng Song <songyuanzheng@huawei.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220428063924.3570409-1-songyuanzheng@huawei.com
drivers/dma-buf/dma-buf.c