linux-sg2042/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 drivers/ptp: Fix kernel memory disclosure 2016-10-13 10:20:06 -04:00
ptp_clock.c ptp: create "pins" together with the rest of attributes 2017-02-17 11:03:06 -05:00
ptp_ixp46x.c ptp: ixp46x: remove NO_IRQ handling 2016-09-06 16:57:02 -07:00
ptp_kvm.c PTP: fix ptr_ret.cocci warnings 2017-03-20 16:25:06 +01:00
ptp_pch.c ptp: pch: convert to the 64 bit get/set time methods. 2015-03-31 12:01:19 -04:00
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