Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1581488

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

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v2 0/4] PTP attribute handling cleanup
Date 2017-02-15 18:30 +0100
Message-ID <tbbyW-2RV-27@gated-at.bofh.it> (permalink)
References <taQ1s-5hv-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
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.
> 
> This series of patches switches PTP to use is_visible() to control
> visibility of attributes in a group, and device_create_with_groups() to
> ensure that attributes are created before we notify userspace of a new
> device.

Richard, please review.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/4] PTP attribute handling cleanup Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-02-14 19:30 +0100
  [PATCH v2 2/4] ptp: use kcalloc when allocating arrays Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-02-14 19:30 +0100
  [PATCH v2 3/4] ptp: use is_visible method to hide unused attributes Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-02-14 19:30 +0100
  [PATCH v2 4/4] ptp: create "pins" together with the rest of attributes Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-02-14 19:30 +0100
  Re: [PATCH v2 0/4] PTP attribute handling cleanup David Miller <davem@davemloft.net> - 2017-02-15 18:30 +0100
    Re: [PATCH v2 0/4] PTP attribute handling cleanup Richard Cochran <richardcochran@gmail.com> - 2017-02-16 11:40 +0100
  Re: [PATCH v2 0/4] PTP attribute handling cleanup Richard Cochran <richardcochran@gmail.com> - 2017-02-16 21:20 +0100
    Re: [PATCH v2 0/4] PTP attribute handling cleanup David Miller <davem@davemloft.net> - 2017-02-17 17:10 +0100

csiph-web