]> git.hungrycats.org Git - linux/commitdiff
[ACPI] REVERT ACPICA-20030918 CONFIG_ACPI_DEBUG printk that caused crash
authorLen Brown <len.brown@intel.com>
Tue, 28 Oct 2003 17:07:38 +0000 (12:07 -0500)
committerLen Brown <lenb@dhcppc3.>
Tue, 28 Oct 2003 17:07:38 +0000 (12:07 -0500)
http://bugzilla.kernel.org/show_bug.cgi?id=1341

drivers/acpi/dispatcher/dsopcode.c

index 05730443cb50eb351ad8c098821bd8485e79bd4d..e31ac22e99f295e863756178537185ca46e50639 100644 (file)
@@ -514,16 +514,14 @@ acpi_ds_init_buffer_field (
                goto cleanup;
        }
 
+
        /* Entire field must fit within the current length of the buffer */
 
        if ((bit_offset + bit_count) >
                (8 * (u32) buffer_desc->buffer.length)) {
                ACPI_DEBUG_PRINT ((ACPI_DB_ERROR,
-                       "Field [%4.4s] size %d exceeds Buffer [%4.4s] size %d (bits)\n",
-                       ((struct acpi_namespace_node *) result_desc)->name.ascii,
-                        bit_offset + bit_count,
-                        buffer_desc->buffer.node->name.ascii,
-                        8 * (u32) buffer_desc->buffer.length));
+                       "Field size %d exceeds Buffer size %d (bits)\n",
+                        bit_offset + bit_count, 8 * (u32) buffer_desc->buffer.length));
                status = AE_AML_BUFFER_LIMIT;
                goto cleanup;
        }