diff options
| author | Gustavo A. R. Silva <[email protected]> | 2017-07-07 05:29:58 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2017-07-07 12:42:03 +0000 |
| commit | 2f2472baa66ef9a6aa25124cb07679bbe613ceff (patch) | |
| tree | 93518a72aee34f642dc06656bd523444b228d2da /net/unix/af_unix.c | |
| parent | Merge remote-tracking branches 'regulator/topic/settle', 'regulator/topic/tps... (diff) | |
| download | kernel-2f2472baa66ef9a6aa25124cb07679bbe613ceff.tar.gz kernel-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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
