]> git.baikalelectronics.ru Git - kernel.git/commit
dma-buf: DMABUF_DEBUG should depend on DMA_SHARED_BUFFER
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 2 Sep 2021 12:49:12 +0000 (14:49 +0200)
committerSumit Semwal <sumit.semwal@linaro.org>
Tue, 7 Sep 2021 07:12:21 +0000 (12:42 +0530)
commit96c55c4e2bb952e10e39178df4ff10fdec10b7f4
tree7445cef8edaa0745bc7af1dd6fdf6cf838c10c8a
parent887c4307556797069120be03360c84810a53802e
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: 458f742ca12edc75 ("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