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

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

From: Al Stone <hidden>
Date: 2015-08-13 15:43:54
Also in: linux-acpi, linux-arm-kernel, lkml

On 08/12/2015 04:35 PM, Timur Tabi wrote:
On Thu, Aug 6, 2015 at 3:59 PM, Al Stone [off-list ref] wrote:
quoted
+       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?
Argh.  Yes, it should.  It will always be false, otherwise.
Will fix for next version.  Thanks for catching that.

-- 
ciao,
al
-----------------------------------
Al Stone
Software Engineer
Linaro Enterprise Group
al.stone@linaro.org
-----------------------------------
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help