Skip to content
Commit 00addd1a authored by Wei Yongjun's avatar Wei Yongjun Committed by Jesper Nilsson
Browse files

CRIS: locking: fix the return value of arch_read_trylock()

arch_write_trylock() should return 'ret' instead of always
return 1.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch

)

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarJesper Nilsson <jesper.nilsson@axis.com>
parent e61ac0b0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment