commit | 5f96142c6b411304405afdbd5f8d71c8c6f590b2 | [log] [tgz] |
---|---|---|
author | Susheel Khiani <skhiani@codeaurora.org> | Mon Apr 11 18:02:43 2016 +0530 |
committer | Patrick Daly <pdaly@codeaurora.org> | Fri Sep 30 16:16:38 2016 -0700 |
tree | ae63ab01b7403ddb6e40508425b20d2fc892dad7 | |
parent | 152e05a6c36d1b7fc2659f80b3574963e16a1a5f [diff] |
msm: secure_buffer: Fix possible NULL pointer dereference Presently we were passing NULL dma_handle while making dma_alloc_coherent call. This is an issue as alloc function would try to populate handle value with dma address and would end up getting NULL pointer error. Fix this. Change-Id: I38ebb9bbae2d6e1e1311fe438b3c8fc3f65e5692 Signed-off-by: Susheel Khiani <skhiani@codeaurora.org> Signed-off-by: Patrick Daly <pdaly@codeaurora.org>