diff mbox

acpi: acpitables: fix spelling mistake (LP: #1330186)

Message ID 1402840687-4266-1-git-send-email-colin.king@canonical.com
State Accepted
Headers show

Commit Message

Colin Ian King June 15, 2014, 1:58 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

incorrect spelling of omitted, fix this

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/acpi/acpitables/acpitables.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Alex Hung June 17, 2014, 12:38 a.m. UTC | #1
On 06/15/2014 06:58 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> incorrect spelling of omitted, fix this
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  src/acpi/acpitables/acpitables.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/acpi/acpitables/acpitables.c b/src/acpi/acpitables/acpitables.c
> index 439df2a..70aee82 100644
> --- a/src/acpi/acpitables/acpitables.c
> +++ b/src/acpi/acpitables/acpitables.c
> @@ -309,7 +309,7 @@ static void acpi_table_check_xsdt(fwts_framework *fw, fwts_acpi_table_info *tabl
>  static void acpi_table_check_madt(fwts_framework *fw, fwts_acpi_table_info *table)
>  {
>  	fwts_acpi_table_madt *madt = (fwts_acpi_table_madt*)table->data;
> -	const void *data = table->data;
> +	const uint8_t *data = table->data;
>  	size_t length = table->length;
>  	int i = 0;
>  
> @@ -580,14 +580,14 @@ static int acpi_table_check_test2(fwts_framework *fw)
>  		if (hdr->length < sizeof(fwts_acpi_table_header)) {
>  			fwts_failed(fw, LOG_LEVEL_HIGH, "ACPITableHdrShort",
>  				"ACPI Table %s is too short, only %d bytes long. Further "
> -				"header checks will be ommitted.", name, hdr->length);
> +				"header checks will be omitted.", name, hdr->length);
>  			continue;
>  		}
>  		/* Warn about empty tables */
>  		if (hdr->length == sizeof(fwts_acpi_table_header)) {
>  			fwts_warning(fw,
>  				"ACPI Table %s is empty and just contains a table header. Further "
> -				"header checks will be ommitted.", name);
> +				"header checks will be omitted.", name);
>  			continue;
>  		}
>  
> 

Acked-by: Alex Hung <alex.hung@canonical.com>
Ivan Hu July 14, 2014, 7:20 a.m. UTC | #2
On 06/15/2014 09:58 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> incorrect spelling of omitted, fix this
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   src/acpi/acpitables/acpitables.c | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/acpi/acpitables/acpitables.c b/src/acpi/acpitables/acpitables.c
> index 439df2a..70aee82 100644
> --- a/src/acpi/acpitables/acpitables.c
> +++ b/src/acpi/acpitables/acpitables.c
> @@ -309,7 +309,7 @@ static void acpi_table_check_xsdt(fwts_framework *fw, fwts_acpi_table_info *tabl
>   static void acpi_table_check_madt(fwts_framework *fw, fwts_acpi_table_info *table)
>   {
>   	fwts_acpi_table_madt *madt = (fwts_acpi_table_madt*)table->data;
> -	const void *data = table->data;
> +	const uint8_t *data = table->data;
>   	size_t length = table->length;
>   	int i = 0;
>
> @@ -580,14 +580,14 @@ static int acpi_table_check_test2(fwts_framework *fw)
>   		if (hdr->length < sizeof(fwts_acpi_table_header)) {
>   			fwts_failed(fw, LOG_LEVEL_HIGH, "ACPITableHdrShort",
>   				"ACPI Table %s is too short, only %d bytes long. Further "
> -				"header checks will be ommitted.", name, hdr->length);
> +				"header checks will be omitted.", name, hdr->length);
>   			continue;
>   		}
>   		/* Warn about empty tables */
>   		if (hdr->length == sizeof(fwts_acpi_table_header)) {
>   			fwts_warning(fw,
>   				"ACPI Table %s is empty and just contains a table header. Further "
> -				"header checks will be ommitted.", name);
> +				"header checks will be omitted.", name);
>   			continue;
>   		}
>
>


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

Patch

diff --git a/src/acpi/acpitables/acpitables.c b/src/acpi/acpitables/acpitables.c
index 439df2a..70aee82 100644
--- a/src/acpi/acpitables/acpitables.c
+++ b/src/acpi/acpitables/acpitables.c
@@ -309,7 +309,7 @@  static void acpi_table_check_xsdt(fwts_framework *fw, fwts_acpi_table_info *tabl
 static void acpi_table_check_madt(fwts_framework *fw, fwts_acpi_table_info *table)
 {
 	fwts_acpi_table_madt *madt = (fwts_acpi_table_madt*)table->data;
-	const void *data = table->data;
+	const uint8_t *data = table->data;
 	size_t length = table->length;
 	int i = 0;
 
@@ -580,14 +580,14 @@  static int acpi_table_check_test2(fwts_framework *fw)
 		if (hdr->length < sizeof(fwts_acpi_table_header)) {
 			fwts_failed(fw, LOG_LEVEL_HIGH, "ACPITableHdrShort",
 				"ACPI Table %s is too short, only %d bytes long. Further "
-				"header checks will be ommitted.", name, hdr->length);
+				"header checks will be omitted.", name, hdr->length);
 			continue;
 		}
 		/* Warn about empty tables */
 		if (hdr->length == sizeof(fwts_acpi_table_header)) {
 			fwts_warning(fw,
 				"ACPI Table %s is empty and just contains a table header. Further "
-				"header checks will be ommitted.", name);
+				"header checks will be omitted.", name);
 			continue;
 		}