Re: [PATCH v4 01/35] acpi: add helper routines to initialize ACPI tables

2021-09-26 Thread wangyanan (Y)
Hi, On 2021/9/24 20:27, Igor Mammedov wrote: Patch introduces acpi_table_begin()/ acpi_table_end() API that hides pointer/offset arithmetic from user as opposed to build_header(), to prevent errors caused by it [1]. acpi_table_begin(): initializes table header and keeps track of t

Re: [PATCH v4 01/35] acpi: add helper routines to initialize ACPI tables

2021-09-24 Thread Stefan Berger
On 9/24/21 8:27 AM, Igor Mammedov wrote: Patch introduces acpi_table_begin()/ acpi_table_end() API that hides pointer/offset arithmetic from user as opposed to build_header(), to prevent errors caused by it [1]. acpi_table_begin(): initializes table header and keeps track of tabl

[PATCH v4 01/35] acpi: add helper routines to initialize ACPI tables

2021-09-24 Thread Igor Mammedov
Patch introduces acpi_table_begin()/ acpi_table_end() API that hides pointer/offset arithmetic from user as opposed to build_header(), to prevent errors caused by it [1]. acpi_table_begin(): initializes table header and keeps track of table data/offsets acpi_table_end(): sets actu