[PATCH] acpi: method: fix _STR's output should be buffer, not string (LP: #1362503)

Keng-Yu Lin keng-yu.lin at canonical.com
Thu Aug 28 14:39:29 UTC 2014


On Thu, Aug 28, 2014 at 5:16 PM, Alex Hung <alex.hung at canonical.com> wrote:
> Signed-off-by: Alex Hung <alex.hung 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 48d3203..73dcf4f 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -1038,7 +1038,7 @@ static int method_test_HRV(fwts_framework *fw)
>  static int method_test_STR(fwts_framework *fw)
>  {
>         return method_evaluate_method(fw, METHOD_OPTIONAL,
> -               "_STR", NULL, 0, method_test_string_return, NULL);
> +               "_STR", NULL, 0, method_test_buffer_return, NULL);
>  }
>
>  static void method_test_PLD_return(
> --
> 1.9.1
>
>

Acked-by: Keng-Yu Lin <kengyu at canonical.com>



More information about the fwts-devel mailing list