diff options
| author | Prakash Gupta <guptap@codeaurora.org> | 2017-03-22 18:52:45 +0530 |
|---|---|---|
| committer | Prakash Gupta <guptap@codeaurora.org> | 2017-03-23 10:52:59 +0530 |
| commit | aadb9ac89c8fb8c29f41ea24a22c1ce5ac9bfc16 (patch) | |
| tree | aad6535349f3d7fa015fcfc9cd09af59033664ce /tools/perf/scripts/python | |
| parent | 630218f7109215471e1f43c2200f6bdc98f92f93 (diff) | |
ion: ion_system_heap: Fix null pointer dereference
The pointer returned from alloc_pages passed unchecked to
ion_pages_sync_for_device.
This patch checks the return for NULL.
Change-Id: I407efc73a1e1297f382a7926cc79542bde88d06d
Fixes: 2d4fdc7bde46 ("ion: Fix DMA operations for ARM64")
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
