summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorNeeti Desai <neetid@codeaurora.org>2015-09-10 14:22:17 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:04:42 -0700
commit63be0380dcef250600a679a83b3ebf4565bcbba7 (patch)
tree78294f8cec137cfab43a31e2e1a49e79af8d905b /include/uapi/linux
parent9eda9160730645d1c1377a27c157d517c3305c4b (diff)
msm: ion: Fix NULL pointer dereference in error path
If the hypervisor fails to assign the correct vmids to the memory allocated, we should free the allocated memory. However the free path depends on certain parameters of the ion_buffer structure which have not yet been populated. Update the function definition to accept the scatter gather list instead of the ion buffer, since we are zero'ing the list and not the buffer. Change-Id: I68bef3af6c1b7e8092fbc0e878d3c825580f438e Signed-off-by: Neeti Desai <neetid@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions