linux_dsm_epyc7002/drivers/ptp
kbuild test robot 49e190ec33 PTP: fix ptr_ret.cocci warnings
drivers/ptp/ptp_kvm.c:229:1-3: 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

CC: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
2017-03-20 16:25:06 +01:00
..
Kconfig PTP: add kvm PTP driver 2017-02-08 17:16:20 +01:00
Makefile PTP: add kvm PTP driver 2017-02-08 17:16:20 +01:00
ptp_chardev.c
ptp_clock.c ptp: create "pins" together with the rest of attributes 2017-02-17 11:03:06 -05:00
ptp_ixp46x.c
ptp_kvm.c PTP: fix ptr_ret.cocci warnings 2017-03-20 16:25:06 +01:00
ptp_pch.c
ptp_private.h ptp: create "pins" together with the rest of attributes 2017-02-17 11:03:06 -05:00
ptp_sysfs.c ptp: create "pins" together with the rest of attributes 2017-02-17 11:03:06 -05:00