diff options
author | 2017-07-07 00:29:58 -0500 | |
---|---|---|
committer | 2017-07-07 13:42:03 +0100 | |
commit | 2f2472baa66ef9a6aa25124cb07679bbe613ceff (patch) | |
tree | 93518a72aee34f642dc06656bd523444b228d2da /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge remote-tracking branches 'regulator/topic/settle', 'regulator/topic/tps65910' and 'regulator/topic/tps65917' into regulator-next (diff) | |
download | wireguard-linux-2f2472baa66ef9a6aa25124cb07679bbe613ceff.tar.xz wireguard-linux-2f2472baa66ef9a6aa25124cb07679bbe613ceff.zip |
regulator: qcom_rpm-regulator: add NULL check on of_match_device() return value
Check return value from call to of_match_device()
in order to prevent a NULL pointer dereference.
In case of NULL print error message and return.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions