diff options
| author | Srinivas Kandagatla <[email protected]> | 2018-08-07 13:19:35 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-09-12 09:46:46 +0200 |
| commit | ca6ac25cecf0e740d7cc8e03e0ebbf8acbeca3df (patch) | |
| tree | e1c7b6bd2b493ac5c7833bbb92695d2b2af8d06b /tools/perf/scripts | |
| parent | 0181cfd93c7b09a3fc69ff734e84c49bfe7d9020 (diff) | |
nvmem: core: return error code instead of NULL from nvmem_device_get
nvmem_device_get() should return ERR_PTR() on error or valid pointer
on success, but one of the code path seems to return NULL, so fix it.
Reported-by: Niklas Cassel <[email protected]>
Signed-off-by: Srinivas Kandagatla <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions