diff options
| author | Jon Hunter <[email protected]> | 2016-03-04 10:55:15 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-03-08 23:41:07 +0000 |
| commit | 41795a8a3cff8e4ba54236ca16c3814ba9cd7f39 (patch) | |
| tree | ba2adcb9e606cee93dbac2febc562805702e0fcd /lib/string_helpers.c | |
| parent | PM / Domains: Fix removal of a subdomain (diff) | |
| download | kernel-41795a8a3cff8e4ba54236ca16c3814ba9cd7f39.tar.gz kernel-41795a8a3cff8e4ba54236ca16c3814ba9cd7f39.zip | |
PM / Domains: Fix potential NULL pointer dereference
In the function of_genpd_get_from_provider(), we never check to see if
the argument 'genpdspec' is NULL before dereferencing it. Add error
checking to handle any NULL pointers.
Signed-off-by: Jon Hunter <[email protected]>
Acked-by: Ulf Hansson <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
