This is a note to let you know that I've just added the patch titled dma-buf: DMABUF_DEBUG should depend on DMA_SHARED_BUFFER to the 5.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: dma-buf-dmabuf_debug-should-depend-on-dma_shared_buf.patch and it can be found in the queue-5.14 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit 0fe66c55b03ac4efcc26dda47a9bdf58752499d5 Author: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> Date: Thu Sep 2 14:49:12 2021 +0200 dma-buf: DMABUF_DEBUG should depend on DMA_SHARED_BUFFER [ Upstream commit cca62758ebdd71fcfb6d589d6487a7f26398d50d ] 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@xxxxxxxxxxxxxx> Signed-off-by: Sumit Semwal <sumit.semwal@xxxxxxxxxx> Link: https://patchwork.freedesktop.org/patch/msgid/20210902124913.2698760-3-geert@xxxxxxxxxxxxxx Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/drivers/dma-buf/Kconfig b/drivers/dma-buf/Kconfig index 6e13cc941cd2..6eb4d13f426e 100644 --- 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