Skip to content

Commit cca6275

Browse files
geertusumitsemwal
authored andcommitted
dma-buf: DMABUF_DEBUG should depend on DMA_SHARED_BUFFER
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: 8433567 ("dma-buf: Add debug option") Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Sumit Semwal <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent c4f3a34 commit cca6275

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/dma-buf/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ config DMABUF_MOVE_NOTIFY
5353

5454
config DMABUF_DEBUG
5555
bool "DMA-BUF debug checks"
56+
depends on DMA_SHARED_BUFFER
5657
default y if DMA_API_DEBUG
5758
help
5859
This option enables additional checks for DMA-BUF importers and

0 commit comments

Comments
 (0)