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

Simon Glass sjg at chromium.org
Thu May 19 06:00:54 CEST 2016


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>


More information about the U-Boot mailing list