diff options
author | Bob Moore <robert.moore@intel.com> | 2015-12-29 00:56:14 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-12-31 21:47:35 -0500 |
commit | c6c6069cad37952da71d2a24eb6ee0a87074b35c (patch) | |
tree | 96fa2a7a1f0f5a16afb985d226038278408a02a0 /drivers/acpi/acpica | |
parent | 07cb390f43e7fd9daceb6a1e223a82c832f5f9ab (diff) |
ACPICA: Add comment explaining _SUB removal
ACPICA commit 81a89968f83bfc3b1d0f0f80f2da08ea69646053
Adds a lengthy comment to acpi_get_object_info explaining the removal
of _SUB and why no complex methods can be added ever to this
interface.
Link: https://github.com/acpica/acpica/commit/81a89968
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>
Diffstat (limited to 'drivers/acpi/acpica')
-rw-r--r-- | drivers/acpi/acpica/nsxfname.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/nsxfname.c b/drivers/acpi/acpica/nsxfname.c index 0e4e6b7983cc..669e0f1b0967 100644 --- a/drivers/acpi/acpica/nsxfname.c +++ b/drivers/acpi/acpica/nsxfname.c | |||
@@ -267,6 +267,13 @@ static char *acpi_ns_copy_device_id(struct acpi_pnp_device_id *dest, | |||
267 | * | 267 | * |
268 | * Note: Allocates the return buffer, must be freed by the caller. | 268 | * Note: Allocates the return buffer, must be freed by the caller. |
269 | * | 269 | * |
270 | * Note: This interface is intended to be used during the initial device | ||
271 | * discovery namespace traversal. Therefore, no complex methods can be | ||
272 | * executed, especially those that access operation regions. Therefore, do | ||
273 | * not add any additional methods that could cause problems in this area. | ||
274 | * this was the fate of the _SUB method which was found to cause such | ||
275 | * problems and was removed (11/2015). | ||
276 | * | ||
270 | ******************************************************************************/ | 277 | ******************************************************************************/ |
271 | 278 | ||
272 | acpi_status | 279 | acpi_status |