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: NWei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: NJesper Nilsson <jesper.nilsson@axis.com>
Showing
想要评论请 注册 或 登录