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:
c4f3a34
)
dma-buf: DMABUF_DEBUG should depend on DMA_SHARED_BUFFER
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Thu, 2 Sep 2021 12:49:12 +0000
(14:49 +0200)
committer
Sumit Semwal
<sumit.semwal@linaro.org>
Tue, 7 Sep 2021 07:12:21 +0000
(12:42 +0530)
DMA-BUF debug checks are an option of DMA-BUF. Enabling DMABUF_DEBUG
without DMA_SHARED_BUFFER does not have any impact, as drivers/dma-buf/
is not entered during the build when DMA_SHARED_BUFFER is disabled.
Fixes:
84335675f2223cbd
("dma-buf: Add debug option")
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-3-geert@linux-m68k.org
drivers/dma-buf/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/dma-buf/Kconfig
b/drivers/dma-buf/Kconfig
index
de5a17c
..
d53782f
100644
(file)
--- a/
drivers/dma-buf/Kconfig
+++ b/
drivers/dma-buf/Kconfig
@@
-53,6
+53,7
@@
config DMABUF_MOVE_NOTIFY
config DMABUF_DEBUG
bool "DMA-BUF debug checks"
+ depends on DMA_SHARED_BUFFER
default y if DMA_API_DEBUG
help
This option enables additional checks for DMA-BUF importers and