]> git.ipfire.org Git - thirdparty/linux.git/commit
dma-buf: Suppress a thread-safety complaint
authorBart Van Assche <bvanassche@acm.org>
Fri, 27 Feb 2026 16:55:01 +0000 (08:55 -0800)
committerChristian König <christian.koenig@amd.com>
Tue, 3 Mar 2026 07:39:13 +0000 (08:39 +0100)
commit01086b97dcc92799bd03cd243ed6061fd21db7a6
treed6d0326f4c0cd563997e439f612d745fb43a9833
parent0dd7a23da214279cfb77b0eb03c38614867524d7
dma-buf: Suppress a thread-safety complaint

Handle all possible dma_resv_lock() return values. This patch prepares
for enabling compile-time thread-safety analysis. This will cause the
compiler to check whether all dma_resv_lock() return values are handled.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
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/20260227165501.2062829-1-bvanassche@acm.org
drivers/dma-buf/dma-resv.c