]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Fixes to rcutorture error handling and cleanup
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 18 Feb 2012 06:12:18 +0000 (22:12 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 25 Apr 2012 03:55:39 +0000 (20:55 -0700)
commit6c983c4a7338d034e36739854887e16680dec1c7
tree4cad4e769f6e244886649001a91de85a3a2c80ce
parent955374d25137c391eaf05569ccd747c346cb6db6
rcu: Fixes to rcutorture error handling and cleanup

The rcutorture initialization code ignored the error returns from
rcu_torture_onoff_init() and rcu_torture_stall_init().  The rcutorture
cleanup code failed to NULL out a number of pointers.  These bugs will
normally have no effect, but this commit fixes them nevertheless.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutorture.c