Re: [Linaro-acpi] [PATCH 1/5] ACPI: add in a bad_madt_entry() function to eventually replace the macro
From: Hanjun Guo
Date: Thu Aug 13 2015 - 05:30:50 EST
On 08/13/2015 06:35 AM, Timur Tabi wrote:
On Thu, Aug 6, 2015 at 3:59 PM, Al Stone <al.stone@xxxxxxxxxx> 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?
I think so, but seems nothing to do with the FADT version,
Al may explain more about it :)
Thanks
Hanjun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/