Thread (17 messages) 17 messages, 5 authors, 2015-09-11

[PATCH v2 1/5] ACPI: add in a bad_madt_entry() function to eventually replace the macro

From: Timur Tabi <hidden>
Date: 2015-08-26 15:38:48
Also in: linux-acpi, linux-pm, lkml

On Wed, Aug 19, 2015 at 5:07 PM, Al Stone [off-list ref] wrote:
+                               pr_err("Variable length MADT subtable %d is wrong size: %d\n",
+                                      entry->type, entry->length);
+                               return 1;
+                       }
+               }
+       } else {
+               if (entry->length != len) {
+                       pr_err("MADT subtable %d is wrong size: %d\n",
+                              len, entry->type);
Can we make these a little more descriptive?

pr_err("Variable length MADT subtable type %d is wrong size: %d,
should be %d\n",
      entry->type, entry->length, len);

pr_err("MADT subtable type %d is wrong size: %d, should be %d\n",
      entry->type, entry->length, len);




-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help