mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 05:04:02 +02:00
dma-buf: Make DMABUF_DEBUG default to y on DEBUG_KERNEL kernels
Commit646013f513("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:646013f513("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
This commit is contained in:
parent
fcfe64715b
commit
143755bdab
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user