diff options
| author | Geordan Neukum <[email protected]> | 2019-05-26 01:18:32 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-05-30 14:04:26 -0700 |
| commit | 4ff740315aee92ec19add0193cef976e532e34dc (patch) | |
| tree | dcc445beb48c2a76d62d9e8f933159aa357364b2 /tools/perf/scripts/python | |
| parent | 091971897e84b518cc8902af1c70632930b1d2da (diff) | |
staging: kpc2000: kpc_i2c: fail probe if unable to get I/O resource
The kpc_i2c driver attempts to map its I/O space without verifying
whether or not the result of platform_get_resource() is NULL. Make the
driver check that platform_get_resource did not return NULL before
attempting to use the value returned to map an I/O space.
Signed-off-by: Geordan Neukum <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions