diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-09-16 18:10:40 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2014-09-25 01:36:42 +0200 |
commit | 920ac5be91bc447c5ef82f457207a169aa79c5f6 (patch) | |
tree | b79044cc494de592d1ccb733360bc1145add7de8 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 628ef02c56e515430dd8d8439126dd0ecb8ce8bb (diff) |
power: max8925: Fix NULL ptr dereference on memory allocation failure
Check the return value of devm_kzalloc() to fix possible NULL pointer
dereference and properly exit the probe() on memory allocation failure.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions