Message ID | 1667552078-48344-1-git-send-email-guohanjun@huawei.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
Series | ACPI: tables: Fix the stale comments for acpi_locate_initial_tables() | expand |
On Fri, Nov 4, 2022 at 10:09 AM Hanjun Guo <guohanjun@huawei.com> wrote: > > sdt_entry[] is long gone by commit ceb6c4683902 ("ACPICA: Remove > duplicate table manager"), update the comments to avoid confusion. > > Signed-off-by: Hanjun Guo <guohanjun@huawei.com> > --- > drivers/acpi/tables.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c > index 47ec11d..afb365a 100644 > --- a/drivers/acpi/tables.c > +++ b/drivers/acpi/tables.c > @@ -838,12 +838,11 @@ acpi_status acpi_os_table_override(struct acpi_table_header *existing_table, > /* > * acpi_locate_initial_tables() > * > - * find RSDP, find and checksum SDT/XSDT. > - * checksum all tables, print SDT/XSDT > + * Get the RSDP, then find and checksum all the ACPI tables. > * > - * result: sdt_entry[] is initialized > + * result: initial_tables[] is initialized, and points to > + * a list of ACPI tables. > */ > - > int __init acpi_locate_initial_tables(void) > { > acpi_status status; > -- Applied as 6.2 material, thanks!
diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c index 47ec11d..afb365a 100644 --- a/drivers/acpi/tables.c +++ b/drivers/acpi/tables.c @@ -838,12 +838,11 @@ acpi_status acpi_os_table_override(struct acpi_table_header *existing_table, /* * acpi_locate_initial_tables() * - * find RSDP, find and checksum SDT/XSDT. - * checksum all tables, print SDT/XSDT + * Get the RSDP, then find and checksum all the ACPI tables. * - * result: sdt_entry[] is initialized + * result: initial_tables[] is initialized, and points to + * a list of ACPI tables. */ - int __init acpi_locate_initial_tables(void) { acpi_status status;
sdt_entry[] is long gone by commit ceb6c4683902 ("ACPICA: Remove duplicate table manager"), update the comments to avoid confusion. Signed-off-by: Hanjun Guo <guohanjun@huawei.com> --- drivers/acpi/tables.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)