Deleted Added
full compact
dswload2.c (231844) dswload2.c (239340)
1/******************************************************************************
2 *
3 * Module Name: dswload2 - Dispatcher second pass namespace load callbacks
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

--- 229 unchanged lines hidden (view full) ---

238 "Type override - [%4.4s] had invalid type (%s) "
239 "for Scope operator, changed to type ANY\n",
240 AcpiUtGetNodeName (Node), AcpiUtGetTypeName (Node->Type)));
241
242 Node->Type = ACPI_TYPE_ANY;
243 WalkState->ScopeInfo->Common.Value = ACPI_TYPE_ANY;
244 break;
245
1/******************************************************************************
2 *
3 * Module Name: dswload2 - Dispatcher second pass namespace load callbacks
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

--- 229 unchanged lines hidden (view full) ---

238 "Type override - [%4.4s] had invalid type (%s) "
239 "for Scope operator, changed to type ANY\n",
240 AcpiUtGetNodeName (Node), AcpiUtGetTypeName (Node->Type)));
241
242 Node->Type = ACPI_TYPE_ANY;
243 WalkState->ScopeInfo->Common.Value = ACPI_TYPE_ANY;
244 break;
245
246 case ACPI_TYPE_METHOD:
247
248 /*
249 * Allow scope change to root during execution of module-level
250 * code. Root is typed METHOD during this time.
251 */
252 if ((Node == AcpiGbl_RootNode) &&
253 (WalkState->ParseFlags & ACPI_PARSE_MODULE_LEVEL))
254 {
255 break;
256 }
257
258 /*lint -fallthrough */
259
246 default:
247
248 /* All other types are an error */
249
250 ACPI_ERROR ((AE_INFO,
251 "Invalid type (%s) for target of "
252 "Scope operator [%4.4s] (Cannot override)",
253 AcpiUtGetTypeName (Node->Type), AcpiUtGetNodeName (Node)));

--- 494 unchanged lines hidden ---
260 default:
261
262 /* All other types are an error */
263
264 ACPI_ERROR ((AE_INFO,
265 "Invalid type (%s) for target of "
266 "Scope operator [%4.4s] (Cannot override)",
267 AcpiUtGetTypeName (Node->Type), AcpiUtGetNodeName (Node)));

--- 494 unchanged lines hidden ---