]> git.karo-electronics.de Git - linux-beck.git/commit
rcutorture: Fix error return code in rcu_perf_init()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 13 Jun 2016 15:20:39 +0000 (15:20 +0000)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 14 Jun 2016 23:03:32 +0000 (16:03 -0700)
commit05dbbfe753792dcebb6b85d84fa5926f09723cfe
tree1f0a2abb4384d8d4a2c8e627d9b055bad46df53d
parent65cbea5bbd32280f4620c20a6f651c37a6058752
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>
kernel/rcu/rcuperf.c