diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-08-24 11:37:58 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-10-06 11:28:01 -0700 |
commit | 889d487a26de4bcd1a0a668754bcbce893969edf (patch) | |
tree | 4fab7a1467d8edcbb0eb6f66af2f6864d539edca /kernel/irq | |
parent | 19a5ecde086a6a5287978b12ae948fa691b197b7 (diff) | |
download | linux-889d487a26de4bcd1a0a668754bcbce893969edf.tar.gz linux-889d487a26de4bcd1a0a668754bcbce893969edf.tar.bz2 linux-889d487a26de4bcd1a0a668754bcbce893969edf.zip |
rcutorture: Fix module unwind when bad torture_type specified
The rcutorture module has a list of torture types, and specifying a
type not on this list is supposed to cleanly fail the module load.
Unfortunately, the "fail" happens without the "cleanly". This commit
therefore adds the needed clean-up after an incorrect torture_type.
Reported-by: David Miller <davem@davemloft.net>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: David Miller <davem@davemloft.net>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions