diff options
| author | Kangjie Lu <kjlu@umn.edu> | 2019-03-16 17:08:33 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-04-04 20:20:14 +0100 |
| commit | 536cc27deade8f1ec3c1beefa60d5fbe0f6fcb28 (patch) | |
| tree | 6d6532e79caa87ca9b69f9f15a8032ca222df5bb /tools/perf/scripts/python/bin | |
| parent | a816646f08ce18e8787d241e1dbda5cbc314e5ea (diff) | |
| download | linux-536cc27deade8f1ec3c1beefa60d5fbe0f6fcb28.tar.gz linux-536cc27deade8f1ec3c1beefa60d5fbe0f6fcb28.zip | |
iio: hmc5843: fix potential NULL pointer dereferences
devm_regmap_init_i2c may fail and return NULL. The fix returns
the error when it fails.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
