Thread (12 messages) 12 messages, 5 authors, 2015-08-13

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

From: Timur Tabi <hidden>
Date: 2015-08-12 22:35:48
Also in: linux-acpi, linux-pm, lkml

On Thu, Aug 6, 2015 at 3:59 PM, Al Stone [off-list ref] wrote:
+       while (ms->num_types != 0) {
+               if (ms->major_version == major &&
+                   ms->minor_version == minor &&
+                   ms->madt_version == madt->header.revision)
+                       break;
+               ms++;
+       }
+       if (!ms) {
Shouldn't this be

  if (!ms->num_types) {

instead?

-- 
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