Re: [PATCH v2 0/4] PTP attribute handling cleanup

2017-02-17 Thread David Miller
From: Richard Cochran Date: Thu, 16 Feb 2017 21:19:29 +0100 > On Tue, Feb 14, 2017 at 10:23:30AM -0800, Dmitry Torokhov wrote: >> drivers/ptp/ptp_clock.c | 22 +++--- >> drivers/ptp/ptp_private.h | 7 +- >> drivers/ptp/ptp_sysfs.c | 167 >> ++ >

Re: [PATCH v2 0/4] PTP attribute handling cleanup

2017-02-16 Thread Richard Cochran
On Tue, Feb 14, 2017 at 10:23:30AM -0800, Dmitry Torokhov wrote: > drivers/ptp/ptp_clock.c | 22 +++--- > drivers/ptp/ptp_private.h | 7 +- > drivers/ptp/ptp_sysfs.c | 167 > ++ > 3 files changed, 80 insertions(+), 116 deletions(-) Nice reductio

Re: [PATCH v2 0/4] PTP attribute handling cleanup

2017-02-16 Thread Richard Cochran
On Wed, Feb 15, 2017 at 12:22:15PM -0500, David Miller wrote: > Richard, please review. Ok, I am testing this today or tomorrow. I'll report back as soon as I can. Thanks, Richard

Re: [PATCH v2 0/4] PTP attribute handling cleanup

2017-02-15 Thread David Miller
From: Dmitry Torokhov Date: Tue, 14 Feb 2017 10:23:30 -0800 > PTP core was creating some attributes, such as "period" and "fifo", and the > entire "pins" attribute group, after creating class deevice, which creates > a race for userspace: uevent may arrive before all attributes are created. > >