[PATCH v1] x86: acpi: Refactor XSDT handling in acpi_add_table()

Bin Meng bmeng.cn at gmail.com
Wed Mar 25 07:48:06 CET 2020


On Thu, Feb 27, 2020 at 10:00 PM Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
>
> There is no need to have an assignment to NULL for XSDT pointer.
> Therefore, no need to assign it when rsdt_address is not set.
> Because of above changes we may decrease indentation level as well.
>
> While here, drop unnecessary parentheses.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> ---
>  arch/x86/lib/acpi_table.c | 37 +++++++++++++++++++------------------
>  1 file changed, 19 insertions(+), 18 deletions(-)
>

This patch looks good to me and I believe we can put this in v2020.04.

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

Regards,
Bin


More information about the U-Boot mailing list