diff options
| author | Vasyl Gomonovych <[email protected]> | 2017-11-28 00:10:32 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-12-18 16:47:27 +0100 |
| commit | 90b3d2f6c036042863c62a4314f0fce38cf395a4 (patch) | |
| tree | 7b1a3b6fe30cbefe9e20349a85965adeabc1a245 /drivers/fpga/fpga-mgr.c | |
| 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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions