Re: [PATCH] CRIS: locking: fix the return value of arch_read_trylock()

2012-10-19 Thread Jesper Nilsson
On Wed, Oct 17, 2012 at 10:54:27PM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > 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) I've taken this into the CRIS-tree, thanks! >

Re: [PATCH] CRIS: locking: fix the return value of arch_read_trylock()

2012-10-19 Thread Jesper Nilsson
On Wed, Oct 17, 2012 at 10:54:27PM +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn 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) I've taken this into the

[PATCH] CRIS: locking: fix the return value of arch_read_trylock()

2012-10-17 Thread Wei Yongjun
From: Wei Yongjun 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: Wei Yongjun --- arch/cris/include/arch-v32/arch/spinlock.h | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] CRIS: locking: fix the return value of arch_read_trylock()

2012-10-17 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn 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: Wei Yongjun yongjun_...@trendmicro.com.cn ---