projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cca6275
)
dma-buf: DMABUF_SYSFS_STATS should depend on DMA_SHARED_BUFFER
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Thu, 2 Sep 2021 12:49:13 +0000
(14:49 +0200)
committer
Sumit Semwal
<sumit.semwal@linaro.org>
Tue, 7 Sep 2021 07:12:21 +0000
(12:42 +0530)
DMA-BUF sysfs statistics are an option of DMA-BUF. It does not make
much sense to bother the user with a question about DMA-BUF sysfs
statistics if DMA-BUF itself is not enabled. Worse, enabling the
statistics enables the feature.
Fixes:
bdb8d06dfefd666d
("dmabuf: Add the capability to expose DMA-BUF stats in sysfs")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Link:
https://patchwork.freedesktop.org/patch/msgid/20210902124913.2698760-4-geert@linux-m68k.org
drivers/dma-buf/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/dma-buf/Kconfig
b/drivers/dma-buf/Kconfig
index
d53782f
..
541efe0
100644
(file)
--- a/
drivers/dma-buf/Kconfig
+++ b/
drivers/dma-buf/Kconfig
@@
-76,7
+76,7
@@
menuconfig DMABUF_HEAPS
menuconfig DMABUF_SYSFS_STATS
bool "DMA-BUF sysfs statistics"
-
select
DMA_SHARED_BUFFER
+
depends on
DMA_SHARED_BUFFER
help
Choose this option to enable DMA-BUF sysfs statistics
in location /sys/kernel/dmabuf/buffers.