commit | 90b3d2f6c036042863c62a4314f0fce38cf395a4 | [log] [tgz] |
---|---|---|
author | Vasyl Gomonovych <gomonovych@gmail.com> | Tue Nov 28 00:10:32 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Dec 18 16:47:27 2017 +0100 |
tree | 7b1a3b6fe30cbefe9e20349a85965adeabc1a245 | |
parent | 93ead7c9483c6d7ae0f67ae6d0a5d3966d84bec8 [diff] |
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>