diff options
author | 2016-09-08 16:50:38 -0600 | |
---|---|---|
committer | 2016-09-09 13:52:59 +0200 | |
commit | 8e67cdbc2f7b57bc1448c505ce5c20e60238728b (patch) | |
tree | df128c8ebe563e049eb5006ca0b50a91f6e8907d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Drivers: hv: hv_util: Avoid dynamic allocation in time synch (diff) | |
download | wireguard-linux-8e67cdbc2f7b57bc1448c505ce5c20e60238728b.tar.xz wireguard-linux-8e67cdbc2f7b57bc1448c505ce5c20e60238728b.zip |
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions