Re: [Linaro-acpi] [RFC] ACPI: Add new function to get table entries

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

 



On 20.03.2014 14:27, Ashwin Chaugule wrote:
On 20 March 2014 06:16, Tomasz Nowicki <tomasz.nowicki@xxxxxxxxxx> wrote:

+    return acpi_parse_entries(table_header->length, handler,
table_header,
+            entry_id, max_entries);

Also, first argument of acpi_parse_entries() expect subtable start point
offset, but now it points to the end of table.



Not sure what you mean. First arg of acpi_parse_entries expects
table_size, not an offset.

As I mentioned in previous mail, first args of acpi_parse_entries will lead us to first MADT entry list. By passing table_header->length we will get at the end of MADT entry list. IMO, we should use table_size (snd argument of acpi_table_parse_entries()) instead of table_header->length.

Tomasz
--
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