diff options
author | 2015-06-29 09:04:43 +0900 | |
---|---|---|
committer | 2015-07-06 21:56:15 +0100 | |
commit | 70cfef26267474f94ff4a988fb45ff78442b1cf4 (patch) | |
tree | 8a14818c039a853bb3c314915a7f2e6e735d211c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Linux 4.2-rc1 (diff) | |
download | wireguard-linux-70cfef26267474f94ff4a988fb45ff78442b1cf4.tar.xz wireguard-linux-70cfef26267474f94ff4a988fb45ff78442b1cf4.zip |
regulator: Add lockdep asserts to help detecting locking misuse
Add lockdep_assert_held_once() to functions explicitly mentioning that
rdev or regulator_list mutex must be held. Using WARN_ONCE shouldn't
pollute the dmesg to much.
The patch (if CONFIG_LOCKDEP enabled) will show warnings in certain
regulators calling regulator_notifier_call_chain() without rdev->mutex
held.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions