diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-04-18 01:25:46 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@rjwysocki.net> | 2015-04-24 02:16:03 +0200 |
commit | 4c533c801d1c9b5c38458a0e7516e0cf50643782 (patch) | |
tree | 49c6c7b86071bf837792d6b8dc442ac2dde1fce8 /lib/kobject.c | |
parent | 5f2e3274e527ec52413b43b5a9b30422eda4cdd2 (diff) |
ACPI / scan: Annotate physical_node_lock in acpi_scan_is_offline()
acpi_scan_is_offline() may be called under the physical_node_lock
lock of the given device object's parent, so prevent lockdep from
complaining about that by annotating that instance with
SINGLE_DEPTH_NESTING.
Fixes: caa73ea158de (ACPI / hotplug / driver core: Handle containers in a special way)
Reported-and-tested-by: Xie XiuQi <xiexiuqi@huawei.com>
Reviewed-by: Toshi Kani <toshi.kani@hp.com>
Cc: 3.14+ <stable@vger.kernel.org> # 3.14+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions