linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ACPI: tables: Fix the stale comments for acpi_locate_initial_tables()
@ 2022-11-04  8:54 Hanjun Guo
  2022-11-10 19:17 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Hanjun Guo @ 2022-11-04  8:54 UTC (permalink / raw)
  To: linux-acpi; +Cc: Rafael J. Wysocki, Hanjun Guo

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;
-- 
1.7.12.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ACPI: tables: Fix the stale comments for acpi_locate_initial_tables()
  2022-11-04  8:54 [PATCH] ACPI: tables: Fix the stale comments for acpi_locate_initial_tables() Hanjun Guo
@ 2022-11-10 19:17 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2022-11-10 19:17 UTC (permalink / raw)
  To: Hanjun Guo; +Cc: linux-acpi, Rafael J. Wysocki

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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-10 19:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-04  8:54 [PATCH] ACPI: tables: Fix the stale comments for acpi_locate_initial_tables() Hanjun Guo
2022-11-10 19:17 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).