diff options
| author | Paul E. McKenney <[email protected]> | 2021-08-06 15:57:26 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2021-09-13 23:36:16 +0000 |
| commit | fd13fe16db0d82612b260640f4e26f6d9d1e11fd (patch) | |
| tree | ca0266ea052c516cc2634505d08aae99cffa3c91 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | rcuscale: Warn on individual rcu_scale_init() error conditions (diff) | |
| download | kernel-fd13fe16db0d82612b260640f4e26f6d9d1e11fd.tar.gz kernel-fd13fe16db0d82612b260640f4e26f6d9d1e11fd.zip | |
rcutorture: Don't cpuhp_remove_state() if cpuhp_setup_state() failed
Currently, in CONFIG_RCU_BOOST kernels, if the rcu_torture_init()
function's call to cpuhp_setup_state() fails, rcu_torture_cleanup()
gamely passes nonsense to cpuhp_remove_state(). This results in
strange and misleading splats. This commit therefore ensures that if
the rcu_torture_init() function's call to cpuhp_setup_state() fails,
rcu_torture_cleanup() avoids invoking cpuhp_remove_state().
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
