ACK: [PATCH 1/2] acpi: method: fix _ACx test (LP: #1297323)
IvanHu
ivan.hu at canonical.com
Wed Mar 26 02:13:54 UTC 2014
On 03/25/2014 10:41 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> There was a typo in the formatting of the name to be tested, causing
> ACx controls to be tested and not the intended _ACx controls.
>
> Signed-off-by: Colin Ian King <colin.king at 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 66efffa..9b789cf 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -4202,7 +4202,7 @@ static int method_test_ACx(fwts_framework *fw)
> for (i = 0; i < 10; i++) {
> char buffer[5];
>
> - snprintf(buffer, sizeof(buffer), "AC%d", i);
> + snprintf(buffer, sizeof(buffer), "_AC%d", i);
> method_evaluate_method(fw, METHOD_OPTIONAL,
> buffer, NULL, 0, method_test_THERM_return, buffer);
> fwts_log_nl(fw);
>
Acked-by: Ivan Hu <ivan.hu at canonical.com>
More information about the fwts-devel
mailing list