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

Bin Meng bmeng.cn at gmail.com
Wed Mar 25 07:54:20 CET 2020


On Wed, Mar 25, 2020 at 2:48 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> 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>
>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list