diff mbox

acpi: method: fix incorrect comment in _CPC test

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

Commit Message

Alex Hung Aug. 27, 2014, 9:13 a.m. UTC
Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 src/acpi/method/method.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Colin Ian King Aug. 27, 2014, 9:16 a.m. UTC | #1
On 27/08/14 10:13, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/acpi/method/method.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index a98cd9e..d8ca152 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -2400,7 +2400,7 @@ static void method_test_CPC_return(
>  	if (method_check_type(fw, name, buf, ACPI_TYPE_PACKAGE) != FWTS_OK)
>  		return;
>  
> -	/* Something is really wrong if we don't have any elements in _PCT */
> +	/* Something is really wrong if we don't have any elements in _CPC */
>  	if (method_package_count_equal(fw, name, "_CPC", obj, 17) != FWTS_OK)
>  		return;
>  
> 
Acked-by: Colin Ian King <colin.king@canonical.com>
Keng-Yu Lin Aug. 27, 2014, 9:49 a.m. UTC | #2
On Wed, Aug 27, 2014 at 5:13 PM, Alex Hung <alex.hung@canonical.com> wrote:
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/acpi/method/method.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index a98cd9e..d8ca152 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -2400,7 +2400,7 @@ static void method_test_CPC_return(
>         if (method_check_type(fw, name, buf, ACPI_TYPE_PACKAGE) != FWTS_OK)
>                 return;
>
> -       /* Something is really wrong if we don't have any elements in _PCT */
> +       /* Something is really wrong if we don't have any elements in _CPC */
>         if (method_package_count_equal(fw, name, "_CPC", obj, 17) != FWTS_OK)
>                 return;
>
> --
> 1.9.1
>

Acked-by: Keng-Yu Lin <kengyu@canonical.com>
diff mbox

Patch

diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
index a98cd9e..d8ca152 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -2400,7 +2400,7 @@  static void method_test_CPC_return(
 	if (method_check_type(fw, name, buf, ACPI_TYPE_PACKAGE) != FWTS_OK)
 		return;
 
-	/* Something is really wrong if we don't have any elements in _PCT */
+	/* Something is really wrong if we don't have any elements in _CPC */
 	if (method_package_count_equal(fw, name, "_CPC", obj, 17) != FWTS_OK)
 		return;