]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Fix a regression for deletion of Alias() objects.
authorBob Moore <robert.moore@intel.com>
Wed, 9 Jul 2014 00:25:45 +0000 (08:25 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 9 Jul 2014 15:55:49 +0000 (17:55 +0200)
commitbe4c8f21f9ecf964455667f1cead2d97525c29d3
treebc06904c1f6b767e4080531638b6df2be4ff1186
parent30c99d42175265f40aef6b78b57e3fc3f04a2a2c
ACPICA: Fix a regression for deletion of Alias() objects.

Fixes a regression introduced by commit 3c7b1446c55f (ACPICA:
Namespace: Properly null terminate objects detached from a namespace
node)

In the case of Alias namespace nodes, the node simply points to the aliased
node via the Object field; thus we cannot assume that the object is an
operand object.

Fixes: 3c7b1446c55f (ACPICA: Namespace: Properly null terminate objects detached from a namespace node)
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/nsobject.c