diff options
| author | Vladimir Zapolskiy <[email protected]> | 2016-03-08 19:06:39 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2016-03-12 01:53:17 +0000 |
| commit | 9979c1c70724ccca8fec10012e320b8145ad5368 (patch) | |
| tree | 1f07e08cf00a22917b8d7c3197f7ef8771c4965c /lib/string_helpers.c | |
| parent | Merge branch 'synaptics-rmi4' into next (diff) | |
| download | kernel-9979c1c70724ccca8fec10012e320b8145ad5368.tar.gz kernel-9979c1c70724ccca8fec10012e320b8145ad5368.zip | |
Input: snvs_pwrkey - fix returned value check of syscon_regmap_lookup_by_phandle()
On error syscon_regmap_lookup_by_phandle() returns ERR_PTR() value,
which makes a check for NULL invalid and may lead to oops on error
path.
Signed-off-by: Vladimir Zapolskiy <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
