diff options
| author | Kangjie Lu <kjlu@umn.edu> | 2019-03-16 17:08:33 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-11 12:24:02 +0200 |
| commit | e98ef6767e41a4bf98356963e01cecda1a88c6f6 (patch) | |
| tree | a446cb6aeb03a4fb812bf1d80da31e43e4980776 /tools/perf/scripts/python/netdev-times.py | |
| parent | a86d06179423b3ff13ad6752d88aee6d3b9ec47f (diff) | |
iio: hmc5843: fix potential NULL pointer dereferences
[ Upstream commit 536cc27deade8f1ec3c1beefa60d5fbe0f6fcb28 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
