Re: [PATCH v2 1/2] ACPI / tables: simplify acpi_parse_entries

2015-09-28 Thread Rafael J. Wysocki
Hi, On Mon, Sep 28, 2015 at 9:39 PM, Al Stone wrote: > On 09/28/2015 07:37 AM, Sudeep Holla wrote: >> >> >> On 28/09/15 14:50, Rafael J. Wysocki wrote: >>> On Monday, September 28, 2015 11:11:11 AM Sudeep Holla wrote: On 26/09/15 01:27, Rafael J. Wysocki wrote: > On Wednesday, Septe

Re: [PATCH v2 1/2] ACPI / tables: simplify acpi_parse_entries

2015-09-28 Thread Al Stone
On 09/28/2015 07:37 AM, Sudeep Holla wrote: > > > On 28/09/15 14:50, Rafael J. Wysocki wrote: >> On Monday, September 28, 2015 11:11:11 AM Sudeep Holla wrote: >>> >>> On 26/09/15 01:27, Rafael J. Wysocki wrote: On Wednesday, September 16, 2015 01:58:06 PM Sudeep Holla wrote: > acpi_parse

Re: [PATCH v2 1/2] ACPI / tables: simplify acpi_parse_entries

2015-09-28 Thread Sudeep Holla
On 28/09/15 14:50, Rafael J. Wysocki wrote: On Monday, September 28, 2015 11:11:11 AM Sudeep Holla wrote: On 26/09/15 01:27, Rafael J. Wysocki wrote: On Wednesday, September 16, 2015 01:58:06 PM Sudeep Holla wrote: acpi_parse_entries passes the table end pointer to the sub-table entry handl

Re: [PATCH v2 1/2] ACPI / tables: simplify acpi_parse_entries

2015-09-28 Thread Rafael J. Wysocki
On Monday, September 28, 2015 11:11:11 AM Sudeep Holla wrote: > > On 26/09/15 01:27, Rafael J. Wysocki wrote: > > On Wednesday, September 16, 2015 01:58:06 PM Sudeep Holla wrote: > >> acpi_parse_entries passes the table end pointer to the sub-table entry > >> handler. acpi_parse_entries itself cou

Re: [PATCH v2 1/2] ACPI / tables: simplify acpi_parse_entries

2015-09-28 Thread Sudeep Holla
On 26/09/15 01:27, Rafael J. Wysocki wrote: On Wednesday, September 16, 2015 01:58:06 PM Sudeep Holla wrote: acpi_parse_entries passes the table end pointer to the sub-table entry handler. acpi_parse_entries itself could validate the end of an entry against the table end using the length in th

Re: [PATCH v2 1/2] ACPI / tables: simplify acpi_parse_entries

2015-09-25 Thread Rafael J. Wysocki
On Wednesday, September 16, 2015 01:58:06 PM Sudeep Holla wrote: > acpi_parse_entries passes the table end pointer to the sub-table entry > handler. acpi_parse_entries itself could validate the end of an entry > against the table end using the length in the sub-table entry. > > This patch adds the

[PATCH v2 1/2] ACPI / tables: simplify acpi_parse_entries

2015-09-16 Thread Sudeep Holla
acpi_parse_entries passes the table end pointer to the sub-table entry handler. acpi_parse_entries itself could validate the end of an entry against the table end using the length in the sub-table entry. This patch adds the validation of the sub-table entry end using the length field.This will hel