diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2016-06-13 15:20:39 +0000 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-06-14 16:03:32 -0700 |
commit | 05dbbfe753792dcebb6b85d84fa5926f09723cfe (patch) | |
tree | 1f0a2abb4384d8d4a2c8e627d9b055bad46df53d /kernel/rcu/rcutorture.c | |
parent | 65cbea5bbd32280f4620c20a6f651c37a6058752 (diff) |
rcutorture: Fix error return code in rcu_perf_init()
Fix to return a negative error code -ENOMEM from kcalloc() error
handling case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/rcutorture.c')
0 files changed, 0 insertions, 0 deletions