Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1624518 > unrolled thread

[PATCH] acpica: trivial changes on comments

Started byCao jin <caoj.fnst@cn.fujitsu.com>
First post2017-04-17 05:00 +0200
Last post2017-04-17 05:00 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] acpica: trivial changes on comments Cao jin <caoj.fnst@cn.fujitsu.com> - 2017-04-17 05:00 +0200
    Re: [PATCH] acpica: trivial changes on comments Cao jin <caoj.fnst@cn.fujitsu.com> - 2017-04-17 05:00 +0200

#1624518 — [PATCH] acpica: trivial changes on comments

FromCao jin <caoj.fnst@cn.fujitsu.com>
Date2017-04-17 05:00 +0200
Subject[PATCH] acpica: trivial changes on comments
Message-ID<tx53r-3rc-5@gated-at.bofh.it>
Remove superfluous word; unify comments and function prototype.

Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
---
 drivers/acpi/acpica/tbfadt.c  | 2 +-
 drivers/acpi/acpica/tbutils.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/acpi/acpica/tbfadt.c b/drivers/acpi/acpica/tbfadt.c
index 51860bf..ba5fcbe 100644
--- a/drivers/acpi/acpica/tbfadt.c
+++ b/drivers/acpi/acpica/tbfadt.c
@@ -449,7 +449,7 @@ void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length)
  * The 64-bit X fields are optional extensions to the original 32-bit FADT
  * V1.0 fields. Even if they are present in the FADT, they are optional and
  * are unused if the BIOS sets them to zero. Therefore, we must copy/expand
- * 32-bit V1.0 fields to the 64-bit X fields if the the 64-bit X field is
+ * 32-bit V1.0 fields to the 64-bit X fields if the 64-bit X field is
  * originally zero.
  *
  * For ACPI 1.0 FADTs (that contain no 64-bit addresses), all 32-bit address
diff --git a/drivers/acpi/acpica/tbutils.c b/drivers/acpi/acpica/tbutils.c
index 5a968a7..e05555c 100644
--- a/drivers/acpi/acpica/tbutils.c
+++ b/drivers/acpi/acpica/tbutils.c
@@ -141,7 +141,7 @@ void acpi_tb_check_dsdt_header(void)
  *
  * FUNCTION:    acpi_tb_copy_dsdt
  *
- * PARAMETERS:  table_desc          - Installed table to copy
+ * PARAMETERS:  table_index         - Index of installed table to copy
  *
  * RETURN:      None
  *
@@ -239,7 +239,7 @@ acpi_tb_get_root_table_entry(u8 *table_entry, u32 table_entry_size)
  *
  * FUNCTION:    acpi_tb_parse_root_table
  *
- * PARAMETERS:  rsdp                    - Pointer to the RSDP
+ * PARAMETERS:  rsdp_address            - Pointer to the RSDP
  *
  * RETURN:      Status
  *
-- 
2.1.0

[toc] | [next] | [standalone]


#1624519

FromCao jin <caoj.fnst@cn.fujitsu.com>
Date2017-04-17 05:00 +0200
Message-ID<tx53r-3rc-9@gated-at.bofh.it>
In reply to#1624518
Re-to: linux-acpi@vger.kernel.org

On 04/17/2017 10:56 AM, Cao jin wrote:
> Remove superfluous word; unify comments and function prototype.
> 
> Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
> ---
>  drivers/acpi/acpica/tbfadt.c  | 2 +-
>  drivers/acpi/acpica/tbutils.c | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/acpi/acpica/tbfadt.c b/drivers/acpi/acpica/tbfadt.c
> index 51860bf..ba5fcbe 100644
> --- a/drivers/acpi/acpica/tbfadt.c
> +++ b/drivers/acpi/acpica/tbfadt.c
> @@ -449,7 +449,7 @@ void acpi_tb_create_local_fadt(struct acpi_table_header *table, u32 length)
>   * The 64-bit X fields are optional extensions to the original 32-bit FADT
>   * V1.0 fields. Even if they are present in the FADT, they are optional and
>   * are unused if the BIOS sets them to zero. Therefore, we must copy/expand
> - * 32-bit V1.0 fields to the 64-bit X fields if the the 64-bit X field is
> + * 32-bit V1.0 fields to the 64-bit X fields if the 64-bit X field is
>   * originally zero.
>   *
>   * For ACPI 1.0 FADTs (that contain no 64-bit addresses), all 32-bit address
> diff --git a/drivers/acpi/acpica/tbutils.c b/drivers/acpi/acpica/tbutils.c
> index 5a968a7..e05555c 100644
> --- a/drivers/acpi/acpica/tbutils.c
> +++ b/drivers/acpi/acpica/tbutils.c
> @@ -141,7 +141,7 @@ void acpi_tb_check_dsdt_header(void)
>   *
>   * FUNCTION:    acpi_tb_copy_dsdt
>   *
> - * PARAMETERS:  table_desc          - Installed table to copy
> + * PARAMETERS:  table_index         - Index of installed table to copy
>   *
>   * RETURN:      None
>   *
> @@ -239,7 +239,7 @@ acpi_tb_get_root_table_entry(u8 *table_entry, u32 table_entry_size)
>   *
>   * FUNCTION:    acpi_tb_parse_root_table
>   *
> - * PARAMETERS:  rsdp                    - Pointer to the RSDP
> + * PARAMETERS:  rsdp_address            - Pointer to the RSDP
>   *
>   * RETURN:      Status
>   *
> 

-- 
Sincerely,
Cao jin

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web