diff options
author | Vasyl Gomonovych <gomonovych@gmail.com> | 2017-11-28 02:10:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-18 18:47:27 +0300 |
commit | 90b3d2f6c036042863c62a4314f0fce38cf395a4 (patch) | |
tree | 7b1a3b6fe30cbefe9e20349a85965adeabc1a245 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 93ead7c9483c6d7ae0f67ae6d0a5d3966d84bec8 (diff) | |
download | linux-90b3d2f6c036042863c62a4314f0fce38cf395a4.tar.xz |
sysfs: Use PTR_ERR_OR_ZERO()
Fix ptr_ret.cocci warnings:
fs/sysfs/group.c:409:8-14: WARNING: PTR_ERR_OR_ZERO can be used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions