patch-2.4.0-prerelease linux/drivers/acpi/interpreter/amnames.c

Next file: linux/drivers/acpi/interpreter/amprep.c
Previous file: linux/drivers/acpi/interpreter/ammonad.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/drivers/acpi/interpreter/amnames.c linux/drivers/acpi/interpreter/amnames.c
@@ -2,7 +2,7 @@
 /******************************************************************************
  *
  * Module Name: amnames - interpreter/scanner name load/execute
- *              $Revision: 70 $
+ *              $Revision: 71 $
  *
  *****************************************************************************/
 
@@ -90,7 +90,7 @@
 
 	name_string = acpi_cm_allocate (size_needed);
 	if (!name_string) {
-		REPORT_ERROR ("Aml_allocate_name_string: name allocation failure");
+		REPORT_ERROR (("Aml_allocate_name_string: name allocation failure\n"));
 		return (NULL);
 	}
 
@@ -380,8 +380,8 @@
 	if (AE_CTRL_PENDING == status && has_prefix) {
 		/* Ran out of segments after processing a prefix */
 
-		REPORT_ERROR ("Ran out of segments after processing a prefix");
-
+		REPORT_ERROR (
+			("Aml_do_name: Malformed Name at %p\n", name_string));
 		status = AE_AML_BAD_NAME;
 	}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)