[PATCH 13/26] acpi: acpitables: use the correct type for failed

Keng-Yu Lin kengyu at canonical.com
Wed Oct 17 07:45:28 UTC 2012


On Mon, Oct 15, 2012 at 4:32 AM, Colin King <colin.king at canonical.com> wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
>  src/acpi/acpitables/acpitables.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/acpi/acpitables/acpitables.c b/src/acpi/acpitables/acpitables.c
> index 1aa3f44..8cdcc31 100644
> --- a/src/acpi/acpitables/acpitables.c
> +++ b/src/acpi/acpitables/acpitables.c
> @@ -491,7 +491,7 @@ static int acpi_table_check_test1(fwts_framework *fw)
>         int i;
>
>         for (i=0; check_table[i].name != NULL; i++) {
> -               int failed = fw->minor_tests.failed;
> +               uint32_t failed = fw->minor_tests.failed;
>                 fwts_acpi_table_info *table;
>
>                 if (fwts_acpi_find_table(fw, check_table[i].name, 0, &table) != FWTS_OK) {
> --
> 1.7.10.4
>
Acked-by: Keng-Yu Lin <kengyu at canonical.com>



More information about the fwts-devel mailing list