aboutsummaryrefslogtreecommitdiff
path: root/kernel/rcu
diff options
context:
space:
mode:
authorPaul E. McKenney2021-08-05 15:53:10 -0700
committerPaul E. McKenney2021-09-13 16:36:16 -0700
commitb3b3cc618ee07f5f4c409e8ca86ac7fbac085ebd (patch)
treee9669e441d6801e9dc08636c36f78a3af7ea41c9 /kernel/rcu
parentefeff6b39b9de4480572c7b0c5eb77204795cb57 (diff)
locktorture: Warn on individual lock_torture_init() error conditions
When running locktorture as a module, any lock_torture_init() issues will be reflected in the error code from modprobe or insmod, as the case may be. However, these error codes are not available when running locktorture built-in, for example, when using the kvm.sh script. This commit therefore adds WARN_ON_ONCE() to allow distinguishing lock_torture_init() errors when running locktorture built-in. Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu')
0 files changed, 0 insertions, 0 deletions