RE: ACPICA regression for empty ResourceTemplates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> -----Original Message-----
> From: linux-acpi-owner@xxxxxxxxxxxxxxx [mailto:linux-acpi-owner@xxxxxxxxxxxxxxx] On Behalf Of Lukas
> Wunner
> Sent: Monday, June 26, 2017 8:39 PM
> To: Rafael J. Wysocki <rafael@xxxxxxxxxx>
> Cc: Moore, Robert <robert.moore@xxxxxxxxx>; Zheng, Lv <lv.zheng@xxxxxxxxx>; Wysocki, Rafael J
> <rafael.j.wysocki@xxxxxxxxx>; Ronald Tschalaer <ronald@xxxxxxxxxxxxx>; ACPI Devel Maling List <linux-
> acpi@xxxxxxxxxxxxxxx>
> Subject: Re: ACPICA regression for empty ResourceTemplates
> 
> On Mon, Jun 26, 2017 at 01:49:03PM +0200, Rafael J. Wysocki wrote:
> > On Mon, Jun 26, 2017 at 10:38 AM, Lukas Wunner <lukas@xxxxxxxxx> wrote:
> > > Hi Robert,
> > >
> > > ACPICA commit c8eac101 (= Linux commit a83019eb9f1f, "ACPICA: Update
> > > resource descriptor handling") is causing a regression when parsing
> > > an empty ResourceTemplate:
> >
> > This is a linux-next commit, right?
> 
> Yes.

Can it be fixed by using this logic:
if (AmlLength < sizeof (AML_RESOURCE_END_TAG) && AmlLength)
Instead of the logic introduced in commit a83019eb9f1f?
if (AmlLength < sizeof (AML_RESOURCE_END_TAG))

If so, could you please offer a fix for upstream?

Thanks and best regards
Lv

> 
> Lukas
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux