summaryrefslogtreecommitdiff
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorSatyajit Desai <sadesai@codeaurora.org>2016-10-21 17:24:48 -0700
committerSatyajit Desai <sadesai@codeaurora.org>2016-10-24 10:57:41 -0700
commit2b5e9d5cb61478253ad47e999bba205dbce74e92 (patch)
tree884fb0654716f26dc3977460b764f751d1201a7a /lib/mpi/mpicoder.c
parent46aa49c1188a77f52dc4969f82292c176d8f399b (diff)
coresight: tmc: skip tmc read if mem allocaiton failed
Add NULL pointer check to ensure that we do copy to user only when we were able to allocate memory for ETR. Change-Id: I09b4bc37617811fd4acd86a7e4f5ef91630675df Signed-off-by: Satyajit Desai <sadesai@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions