aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2024-10-21 22:09:39 +0000
committerUladzislau Rezki (Sony) <[email protected]>2024-12-14 16:13:09 +0000
commitd465492a224b2409508224cf6970d7b97e2285cc (patch)
tree53df4c12beac3e066bc06cc57c8be9367056f5bd /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parentLinux 6.13-rc2 (diff)
downloadkernel-d465492a224b2409508224cf6970d7b97e2285cc.tar.gz
kernel-d465492a224b2409508224cf6970d7b97e2285cc.zip
srcu: Guarantee non-negative return value from srcu_read_lock()
For almost 20 years, the int return value from srcu_read_lock() has been always either zero or one. This commit therefore documents the fact that it will be non-negative, and does the same for the underlying __srcu_read_lock(). [ paulmck: Apply Andrii Nakryiko feedback. ] Signed-off-by: Paul E. McKenney <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Uladzislau Rezki (Sony) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions