aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorIrina Tirdea <[email protected]>2016-03-13 00:33:30 +0000
committerRafael J. Wysocki <[email protected]>2016-03-17 02:06:38 +0000
commitbf4703fdd166fffd5b2e4c42d2ebbf708b94748e (patch)
tree41d4306b747a7b61695536f91bfa5a0a37110d9a /net/switchdev/switchdev.c
parentdevice property: fwnode->secondary may contain ERR_PTR(-ENODEV) (diff)
downloadkernel-bf4703fdd166fffd5b2e4c42d2ebbf708b94748e.tar.gz
kernel-bf4703fdd166fffd5b2e4c42d2ebbf708b94748e.zip
ACPI / property: fix data node parsing in acpi_get_next_subnode()
When an ACPI node has both ACPI device nodes and ACPI data nodes, acpi_get_next_subnode() will return the ACPI data nodes of its last parsed child. To avoid that, make acpi_get_next_subnode() go back to the original ACPI device object when all of the device node children of it have been found already. Signed-off-by: Irina Tirdea <[email protected]> [ rjw: Changelog ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions