diff options
| author | 2011-10-14 18:00:29 +0200 | |
|---|---|---|
| committer | 2011-10-14 20:47:06 +0100 | |
| commit | d1685e4e2c3854782272f32b71f2f3eff5c6e0d0 (patch) | |
| tree | f5a3db39e444233ce989216ded33b9542e0a0921 /tools/perf/util/trace-event-scripting.c | |
| parent | regulator: gpio-regulator add dependency on GENERIC_GPIO (diff) | |
| download | wireguard-linux-d1685e4e2c3854782272f32b71f2f3eff5c6e0d0.tar.xz wireguard-linux-d1685e4e2c3854782272f32b71f2f3eff5c6e0d0.zip | |
regulator: Fix possible nullpointer dereference in regulator_enable()
In the case where _regulator_enable returns an error it was not checked
if a supplying regulator exists before trying to disable it, leading
to a null pointer-dereference if no supplying regulator existed.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions
