commit | 4126af6cf8e77906b53101f792ce9bb71626d60a | [log] [tgz] |
---|---|---|
author | Prakash Gupta <guptap@codeaurora.org> | Wed Mar 22 18:52:45 2017 +0530 |
committer | Prakash Gupta <guptap@codeaurora.org> | Tue Jul 04 15:27:57 2017 +0530 |
tree | 0df2f6e1e13ddf8da1889335c11c3ffcee7aa000 | |
parent | fb7d0fd07d0cfcb9aac3745a41eb5af04532272d [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>