summaryrefslogtreecommitdiff
path: root/bpf.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-09-09 14:32:23 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-09-09 14:32:23 +0200
commit83db3213e55a646132e092014e162ebfe16b7236 (patch)
tree4e69a8c32a36a84814d710cb7bbb01c4693433d2 /bpf.h
parent29e8d65ae49ef1c9435fb861b1fc55ef2305d7ed (diff)
netsniff-ng: Remove useless check for ctx.device_in
If ctx.device_in is NULL after option parsing, it is always set to "any", which is before this check. Thus, it serves no purpose and can be removed. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpf.h')
0 files changed, 0 insertions, 0 deletions
>I was under the misconception that the sysfs dev stuff can be fully set up, and then registered all in one step with device_add. That's true for properties and property groups, but not for parents and child devices. Those must be fully registered before you can register a child. Add a bit of tracking to make sure that asynchronous mst connector hotplugging gets this right. For consistency we rely upon the implicit barriers of the connector->mutex, which is taken anyway, to ensure that at least either the connector or device registration call will work out. Mildly tested since I can't reliably reproduce this on my mst box here. Reported-by: Dave Hansen <dave.hansen@intel.com> Cc: Dave Hansen <dave.hansen@intel.com> Acked-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1484237756-2720-1-git-send-email-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/acpi/acuuid.h')