diff options
author | David S. Miller <davem@davemloft.net> | 2017-02-17 11:03:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-17 11:03:07 -0500 |
commit | af6e2b5b8c109d1c27f82364e8b9b1e858051093 (patch) | |
tree | a2e0e1be3db1c252076604b9aeb82617c219d349 /drivers/net/ethernet/nvidia | |
parent | 01f0f4253469e1b1e80bc84ae64728c294534836 (diff) | |
parent | 85a66e55019583da1e0f18706b7a8281c9f6de5b (diff) | |
download | linux-af6e2b5b8c109d1c27f82364e8b9b1e858051093.tar.bz2 |
Merge branch 'ptp-attribute-cleanup'
Dmitry Torokhov says:
====================
PTP attribute handling cleanup
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.
v2:
- added Richard's acked-by to patch #1
- removed use of kmalloc_array in favor of kcalloc in patch #2 at
Richard's request
- added a cover letter
v1:
- initial patch set
====================
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/nvidia')
0 files changed, 0 insertions, 0 deletions