[U-Boot] [PATCH v2 11/18] x86: acpi: Remove header length check when writing tables

Bin Meng bmeng.cn at gmail.com
Mon May 23 09:01:34 CEST 2016


On Thu, May 19, 2016 at 12:00 PM, Simon Glass <sjg at chromium.org> wrote:
> On 11 May 2016 at 08:45, Bin Meng <bmeng.cn at gmail.com> wrote:
>> Before moving 'current' pointer during ACPI table writing, we always
>> check the table length to see if it is larger than the table header.
>> Since our purpose is to generate valid tables, the check logic is
>> always true, which can be avoided.
>>
>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>>
>> ---
>>
>> Changes in v2:
>> - New patch to remove header length check when writing tables
>>
>>  arch/x86/lib/acpi_table.c | 26 ++++++++++----------------
>>  1 file changed, 10 insertions(+), 16 deletions(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list