linux/fs/sysfs
Vasyl Gomonovych 90b3d2f6c0 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>
2017-12-18 16:47:27 +01:00
..
dir.c kernfs: make kernfs_path*() behave in the style of strlcpy() 2016-08-10 11:23:44 -04:00
file.c sysfs: be careful of error returns from ops->show() 2017-04-08 17:33:32 +02:00
group.c sysfs: Use PTR_ERR_OR_ZERO() 2017-12-18 16:47:27 +01:00
Kconfig kernfs: add CONFIG_KERNFS 2014-02-07 16:08:57 -08:00
Makefile
mount.c Rename superblock flags (MS_xyz -> SB_xyz) 2017-11-27 13:05:09 -08:00
symlink.c
sysfs.h