diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2014-02-13 16:42:43 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-02-13 16:42:45 -0500 |
commit | 430af8ad9dad82d775d688155e1db1da385d3e7a (patch) | |
tree | 80aa4c350091f772884564fe0c009fdac3f9a534 /tools/perf/scripts/python/sctop.py | |
parent | d6250ee2fa79637a5750e46734816c7af71ea97e (diff) |
cgroup: fix coccinelle warnings
kernel/cgroup.c:2256:1-3: WARNING: PTR_RET can be used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: coccinelle/api/ptr_ret.cocci
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions