android_kernel_motorola_sm6375/drivers/ptp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
YueHaibing aea0a897af ptp: Fix pass zero to ERR_PTR() in ptp_clock_register
Fix smatch warning:

drivers/ptp/ptp_clock.c:298 ptp_clock_register() warn:
 passing zero to 'ERR_PTR'

'err' should be set while device_create_with_groups and
pps_register_source fails

Fixes: 85a66e5501 ("ptp: create "pins" together with the rest of attributes")
Signed-off-by: YueHaibing <[email protected]>
Acked-by: Richard Cochran <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2018-11-23 18:04:02 -08:00
..
Kconfig ptp: support DPAA FMan 1588 timer in ptp_qoriq 2018-06-26 22:15:14 +09:00
Makefile
ptp_chardev.c ptp: deprecate gettime64() in favor of gettimex64() 2018-11-09 19:43:51 -08:00
ptp_clock.c ptp: Fix pass zero to ERR_PTR() in ptp_clock_register 2018-11-23 18:04:02 -08:00
ptp_dte.c ptp: ptp_dte: simplify getting .driver_data 2018-10-22 19:48:35 -07:00
ptp_ixp46x.c
ptp_kvm.c
ptp_pch.c
ptp_private.h
ptp_qoriq.c ptp_qoriq: use div_u64/div_u64_rem for 64-bit division 2018-08-06 10:43:35 -07:00
ptp_sysfs.c