diff options
| author | Karl Mehltretter <kmehltretter@gmail.com> | 2026-09-07 04:00:15 +0200 |
|---|---|---|
| committer | Christian König <christian.koenig@amd.com> | 2026-09-11 11:55:40 +0200 |
| commit | 143755bdabaa96776c24f878014608e9cb44f930 (patch) | |
| tree | 825790bc1a74c237affbd5fd8e08a46d73fbf64f /drivers/dma-buf | |
| parent | fcfe64715b425262af1b36f498f9197f3537ceed (diff) | |
| download | linux-next-143755bdabaa96776c24f878014608e9cb44f930.tar.gz linux-next-143755bdabaa96776c24f878014608e9cb44f930.zip | |
dma-buf: Make DMABUF_DEBUG default to y on DEBUG_KERNEL kernels
Commit 646013f513f3 ("dma-buf: enable DMABUF_DEBUG by default on DEBUG
kernels") changed the default of DMABUF_DEBUG to "y if DEBUG", but no
Kconfig symbol DEBUG exists, so the option has had no default since.
Use DEBUG_KERNEL, the Kconfig symbol for a debug kernel.
Fixes: 646013f513f3 ("dma-buf: enable DMABUF_DEBUG by default on DEBUG kernels")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Link: https://lore.kernel.org/r/20260907020015.24719-1-kmehltretter@gmail.com
Diffstat (limited to 'drivers/dma-buf')
| -rw-r--r-- | drivers/dma-buf/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma-buf/Kconfig b/drivers/dma-buf/Kconfig index 7efc0f0d0712..e4f078a326a4 100644 --- a/drivers/dma-buf/Kconfig +++ b/drivers/dma-buf/Kconfig @@ -43,7 +43,7 @@ config UDMABUF config DMABUF_DEBUG bool "DMA-BUF debug checks" depends on DMA_SHARED_BUFFER - default y if DEBUG + default y if DEBUG_KERNEL help This option enables additional checks for DMA-BUF importers and exporters. Specifically it validates that importers do not peek at the |
