commit | e381d1c21eea186daed6834af444575e06841355 | [log] [tgz] |
---|---|---|
author | Ding Xiang <[email protected]> | Fri Sep 07 09:34:42 2018 +0800 |
committer | Arnaldo Carvalho de Melo <[email protected]> | Wed Sep 19 10:25:09 2018 -0300 |
tree | 2e4b392ca67dd16e90b136d9c234591b354d44ac | |
parent | 01ab2e91103b8c23dfedfeb799bc8b810d585bd0 [diff] |
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 <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>