summaryrefslogtreecommitdiff
path: root/include/linux/kthread.h
diff options
context:
space:
mode:
authorXiang Gao <gaoxiang17@xiaomi.com>2026-04-15 13:41:01 +0800
committerChristian König <christian.koenig@amd.com>2026-04-23 10:01:46 +0200
commit0b13173d27fa15679463b62a10cfa8b3d6c3a71c (patch)
treea1ed9863b81bd067fe1b7c9806f05d827b6c29ac /include/linux/kthread.h
parent2fc87d37be1b730a149b035f9375fdb8cc5333a5 (diff)
dma-buf: fix stale @lock references in struct dma_buf documentation
The kernel-doc comments for vmapping_counter and vmap_ptr in struct dma_buf reference "@lock" as the protecting lock, but struct dma_buf no longer has a "lock" member. The mutex was removed in favor of using the dma_resv lock exclusively. The implementation correctly uses dma_resv_assert_held(dmabuf->resv) in dma_buf_vmap() and dma_buf_vunmap(), so update the documentation to reference @resv instead. Signed-off-by: gaoxiang17 <gaoxiang17@xiaomi.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/20260415054101.535520-1-gxxa03070307@gmail.com
Diffstat (limited to 'include/linux/kthread.h')
0 files changed, 0 insertions, 0 deletions