coresight: perf: deal with error condition properly
authorMathieu Poirier <mathieu.poirier@linaro.org>
Wed, 24 Aug 2016 20:07:56 +0000 (14:07 -0600)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 6 Sep 2016 15:00:10 +0000 (09:00 -0600)
commit4fd08c7ab6671256b43093c7967f33765963e3d4
treeec259ca5c9e0f868cfce57669ad484af82ef0e96
parent2cab502107adc5adcc9c47e0b5a73dfe02cd189c
coresight: perf: deal with error condition properly

Function coresight_build_path() should return -ENOMEM when kzalloc
fails to allocated the requested memory.  That way callers can deal
with the error condition in a similar way.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/hwtracing/coresight/coresight-etm-perf.c
drivers/hwtracing/coresight/coresight.c
This page took 0.024661 seconds and 5 git commands to generate.