summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorBaineng Shou <shoubaineng@gmail.com>2026-10-14 10:49:09 +0800
committerChristian König <christian.koenig@amd.com>2026-10-14 14:35:48 +0200
commit91f52e99824b0beebb48cad51bbda81437af8664 (patch)
treed66f2304ab36e98f2cecbbd11d5677636040b7bc /include/linux/debugobjects.h
parentdfc3c7b84d43e7de918686e5cd7dd49196a5f45e (diff)
dma-buf/test: add KUnit case for dma_fence_dedup_array() empty input
Add a KUnit case verifying that dma_fence_dedup_array() returns 0, not 1, when called with num_fences == 0. This locks down the contract documented in the kernel-doc and prevents a regression of commit 77a9298741f8 ("dma-fence: Make dma_fence_dedup_array() robust against 0-count input"). Suggested-by: Christian König <christian.koenig@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Baineng Shou <shoubaineng@gmail.com> Link: https://lore.kernel.org/r/20261014024909.1769215-1-shoubaineng@gmail.com Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions