diff mbox

Fix spelling mistakes of "ACPI"

Message ID 1452483057-894-1-git-send-email-alex.hung@canonical.com
State Accepted
Headers show

Commit Message

Alex Hung Jan. 11, 2016, 3:30 a.m. UTC
Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 src/acpi/method/method.c       | 2 +-
 src/cpu/maxfreq/maxfreq.c      | 2 +-
 src/lib/src/fwts_acpi_tables.c | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

Comments

Colin Ian King Jan. 11, 2016, 8:21 a.m. UTC | #1
On 11/01/16 03:30, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/acpi/method/method.c       | 2 +-
>  src/cpu/maxfreq/maxfreq.c      | 2 +-
>  src/lib/src/fwts_acpi_tables.c | 4 ++--
>  3 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index 6d5a05e..5150725 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -31,7 +31,7 @@
>  /*
>   * ACPI methods + objects used in Linux ACPI driver:
>   *
> - * Name	 APCI Spec.	Tested
> + * Name	 ACPI Spec.	Tested
>   *	 section
>   * _ACx  11.4.1		Y
>   * _ADR  6.1.1, B.6.1,	Y
> diff --git a/src/cpu/maxfreq/maxfreq.c b/src/cpu/maxfreq/maxfreq.c
> index 7f23725..7d80cc2 100644
> --- a/src/cpu/maxfreq/maxfreq.c
> +++ b/src/cpu/maxfreq/maxfreq.c
> @@ -180,7 +180,7 @@ static int maxfreq_test1(fwts_framework *fw)
>  					"indicates a misconfiguration of the "
>  					"ACPI _PSS (Performance Supported "
>  					"States) object. This is described in "
> -					"section 8.4.4.2 of the APCI "
> +					"section 8.4.4.2 of the ACPI "
>  					"specification.",
>  					(double)maxfreq/1000000.0, cpunum, path,
>  					(double)cpufreq[cpunum]/1000000.0);
> diff --git a/src/lib/src/fwts_acpi_tables.c b/src/lib/src/fwts_acpi_tables.c
> index 0d36ce5..fd2c85d 100644
> --- a/src/lib/src/fwts_acpi_tables.c
> +++ b/src/lib/src/fwts_acpi_tables.c
> @@ -875,7 +875,7 @@ static int fwts_acpi_load_tables_from_file(fwts_framework *fw)
>  
>  	fwts_acpi_load_tables_from_file_generic(fw, fw->acpi_table_path, ".dat", &count);
>  	if (count == 0) {
> -		fwts_log_error(fw, "Could not find any APCI tables in directory '%s'.\n", fw->acpi_table_path);
> +		fwts_log_error(fw, "Could not find any ACPI tables in directory '%s'.\n", fw->acpi_table_path);
>  		return FWTS_ERROR;
>  	}
>  	return FWTS_OK;
> @@ -1116,7 +1116,7 @@ static int fwts_acpi_load_tables_from_sysfs(fwts_framework *fw)
>  	fwts_acpi_load_tables_from_file_generic(fw, "/sys/firmware/acpi/tables/dynamic", "", &count);
>  	total += count;
>  	if (total == 0) {
> -		fwts_log_error(fw, "Could not find any APCI tables in directory '/sys/firmware/acpi/tables'.\n");
> +		fwts_log_error(fw, "Could not find any ACPI tables in directory '/sys/firmware/acpi/tables'.\n");
>  		return FWTS_ERROR;
>  	}
>  	return FWTS_OK;
> 

Thanks for spotting these.

Acked-by: Colin Ian King <colin.king@canonical.com>
Ivan Hu Jan. 12, 2016, 2:58 a.m. UTC | #2
On 2016年01月11日 11:30, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>   src/acpi/method/method.c       | 2 +-
>   src/cpu/maxfreq/maxfreq.c      | 2 +-
>   src/lib/src/fwts_acpi_tables.c | 4 ++--
>   3 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index 6d5a05e..5150725 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -31,7 +31,7 @@
>   /*
>    * ACPI methods + objects used in Linux ACPI driver:
>    *
> - * Name	 APCI Spec.	Tested
> + * Name	 ACPI Spec.	Tested
>    *	 section
>    * _ACx  11.4.1		Y
>    * _ADR  6.1.1, B.6.1,	Y
> diff --git a/src/cpu/maxfreq/maxfreq.c b/src/cpu/maxfreq/maxfreq.c
> index 7f23725..7d80cc2 100644
> --- a/src/cpu/maxfreq/maxfreq.c
> +++ b/src/cpu/maxfreq/maxfreq.c
> @@ -180,7 +180,7 @@ static int maxfreq_test1(fwts_framework *fw)
>   					"indicates a misconfiguration of the "
>   					"ACPI _PSS (Performance Supported "
>   					"States) object. This is described in "
> -					"section 8.4.4.2 of the APCI "
> +					"section 8.4.4.2 of the ACPI "
>   					"specification.",
>   					(double)maxfreq/1000000.0, cpunum, path,
>   					(double)cpufreq[cpunum]/1000000.0);
> diff --git a/src/lib/src/fwts_acpi_tables.c b/src/lib/src/fwts_acpi_tables.c
> index 0d36ce5..fd2c85d 100644
> --- a/src/lib/src/fwts_acpi_tables.c
> +++ b/src/lib/src/fwts_acpi_tables.c
> @@ -875,7 +875,7 @@ static int fwts_acpi_load_tables_from_file(fwts_framework *fw)
>
>   	fwts_acpi_load_tables_from_file_generic(fw, fw->acpi_table_path, ".dat", &count);
>   	if (count == 0) {
> -		fwts_log_error(fw, "Could not find any APCI tables in directory '%s'.\n", fw->acpi_table_path);
> +		fwts_log_error(fw, "Could not find any ACPI tables in directory '%s'.\n", fw->acpi_table_path);
>   		return FWTS_ERROR;
>   	}
>   	return FWTS_OK;
> @@ -1116,7 +1116,7 @@ static int fwts_acpi_load_tables_from_sysfs(fwts_framework *fw)
>   	fwts_acpi_load_tables_from_file_generic(fw, "/sys/firmware/acpi/tables/dynamic", "", &count);
>   	total += count;
>   	if (total == 0) {
> -		fwts_log_error(fw, "Could not find any APCI tables in directory '/sys/firmware/acpi/tables'.\n");
> +		fwts_log_error(fw, "Could not find any ACPI tables in directory '/sys/firmware/acpi/tables'.\n");
>   		return FWTS_ERROR;
>   	}
>   	return FWTS_OK;
>

Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff mbox

Patch

diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
index 6d5a05e..5150725 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -31,7 +31,7 @@ 
 /*
  * ACPI methods + objects used in Linux ACPI driver:
  *
- * Name	 APCI Spec.	Tested
+ * Name	 ACPI Spec.	Tested
  *	 section
  * _ACx  11.4.1		Y
  * _ADR  6.1.1, B.6.1,	Y
diff --git a/src/cpu/maxfreq/maxfreq.c b/src/cpu/maxfreq/maxfreq.c
index 7f23725..7d80cc2 100644
--- a/src/cpu/maxfreq/maxfreq.c
+++ b/src/cpu/maxfreq/maxfreq.c
@@ -180,7 +180,7 @@  static int maxfreq_test1(fwts_framework *fw)
 					"indicates a misconfiguration of the "
 					"ACPI _PSS (Performance Supported "
 					"States) object. This is described in "
-					"section 8.4.4.2 of the APCI "
+					"section 8.4.4.2 of the ACPI "
 					"specification.",
 					(double)maxfreq/1000000.0, cpunum, path,
 					(double)cpufreq[cpunum]/1000000.0);
diff --git a/src/lib/src/fwts_acpi_tables.c b/src/lib/src/fwts_acpi_tables.c
index 0d36ce5..fd2c85d 100644
--- a/src/lib/src/fwts_acpi_tables.c
+++ b/src/lib/src/fwts_acpi_tables.c
@@ -875,7 +875,7 @@  static int fwts_acpi_load_tables_from_file(fwts_framework *fw)
 
 	fwts_acpi_load_tables_from_file_generic(fw, fw->acpi_table_path, ".dat", &count);
 	if (count == 0) {
-		fwts_log_error(fw, "Could not find any APCI tables in directory '%s'.\n", fw->acpi_table_path);
+		fwts_log_error(fw, "Could not find any ACPI tables in directory '%s'.\n", fw->acpi_table_path);
 		return FWTS_ERROR;
 	}
 	return FWTS_OK;
@@ -1116,7 +1116,7 @@  static int fwts_acpi_load_tables_from_sysfs(fwts_framework *fw)
 	fwts_acpi_load_tables_from_file_generic(fw, "/sys/firmware/acpi/tables/dynamic", "", &count);
 	total += count;
 	if (total == 0) {
-		fwts_log_error(fw, "Could not find any APCI tables in directory '/sys/firmware/acpi/tables'.\n");
+		fwts_log_error(fw, "Could not find any ACPI tables in directory '/sys/firmware/acpi/tables'.\n");
 		return FWTS_ERROR;
 	}
 	return FWTS_OK;