Re: [Linaro-acpi] [PATCH 1/5] ACPI: add in a bad_madt_entry() function to eventually replace the macro
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Timur Tabi <timur@xxxxxxxxxxxxxx>
- Subject: Re: [Linaro-acpi] [PATCH 1/5] ACPI: add in a bad_madt_entry() function to eventually replace the macro
- From: Al Stone <al.stone@xxxxxxxxxx>
- Date: Thu, 13 Aug 2015 09:43:46 -0600
- Cc: linux-acpi@xxxxxxxxxxxxxxx, "linux-arm-kernel@xxxxxxxxxxxxxxxxxxx" <linux-arm-kernel@xxxxxxxxxxxxxxxxxxx>, linaro-kernel@xxxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, patches@xxxxxxxxxx, linux-pm@xxxxxxxxxxxxxxx, linaro-acpi@xxxxxxxxxxxxxxxx, "Rafael J. Wysocki" <rjw@xxxxxxxxxxxxx>, lkml <linux-kernel@xxxxxxxxxxxxxxx>, Len Brown <lenb@xxxxxxxxxx>
- In-reply-to: <CAOZdJXVZomskfpvEjmDUiptW3SndJWvfKyzd9SwJp3dh7h3pig@mail.gmail.com>
- List-id: <linux-ia64.vger.kernel.org>
- References: <1438894770-31163-1-git-send-email-al.stone@linaro.org> <1438894770-31163-2-git-send-email-al.stone@linaro.org> <CAOZdJXVZomskfpvEjmDUiptW3SndJWvfKyzd9SwJp3dh7h3pig@mail.gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
On 08/12/2015 04:35 PM, 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?
>
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@xxxxxxxxxx
-----------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]