Re: [Linuxptp-devel] [PATCH v3 05/11] Event subscribing

2014-05-05 Thread Jiri Benc
On Sat, 3 May 2014 20:19:10 +0200, Richard Cochran wrote: On Fri, May 02, 2014 at 12:37:48PM +0200, Jiri Benc wrote: +static void clock_flush_subscriptions(struct clock *c) +{ + struct clock_subscriber *s, *tmp; + + LIST_FOREACH_SAFE(s, c-subscribers, list, tmp) { +

Re: [Linuxptp-devel] [PATCH v3 05/11] Event subscribing

2014-05-05 Thread Richard Cochran
On Mon, May 05, 2014 at 02:39:58PM +0200, Jiri Benc wrote: I'll wrap them but the result will look uglier than this. You version looks like this: msg-management.targetPortIdentity.clockIdentity = s-targetPortIdentity.clockIdentity;

[Linuxptp-devel] [PATCH v3 05/11] Event subscribing

2014-05-02 Thread Jiri Benc
This puts groundwork for event subscription and notification. The individual events are added by subsequent patches. Signed-off-by: Jiri Benc jb...@redhat.com --- clock.c| 136 clock.h| 11 + notification.h | 27