diff options
author | Ding Xiang | 2018-09-07 03:34:42 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2018-09-19 15:25:09 +0200 |
commit | e381d1c21eea186daed6834af444575e06841355 (patch) | |
tree | 2e4b392ca67dd16e90b136d9c234591b354d44ac /COPYING | |
parent | tools include: Adopt PTR_ERR_OR_ZERO from the kernel err.h header (diff) | |
download | kernel-qcow2-linux-e381d1c21eea186daed6834af444575e06841355.tar.gz kernel-qcow2-linux-e381d1c21eea186daed6834af444575e06841355.tar.xz kernel-qcow2-linux-e381d1c21eea186daed6834af444575e06841355.zip |
perf bpf-loader: use PTR_ERR_OR_ZERO inetead of return code
Use PTR_ERR_OR_ZERO() in bpf__setup_stdout() return code instead of open
coded equivalent.
Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1536284082-23466-2-git-send-email-dingxiang@cmss.chinamobile.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions