Reviewed-by: Hongbo Zhang <[email protected]>

On 4 February 2016 at 15:49, Maxim Uvarov <[email protected]> wrote:
> From doc: "A return value of 0 meansinactive,
> anything else is active.".
>
> Signed-off-by: Maxim Uvarov <[email protected]>
> ---
>  test/validation/system/system.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/test/validation/system/system.c b/test/validation/system/system.c
> index 5b5a3f0..5d87b8b 100644
> --- a/test/validation/system/system.c
> +++ b/test/validation/system/system.c
> @@ -218,10 +218,10 @@ int system_check_odp_cpu_hz(void)
>  {
>         if (odp_cpu_hz() == 0) {
>                 fprintf(stderr, "odp_cpu_hz is not supported, skipping\n");
> -               return -1;
> +               return 0;
>         }
>
> -       return 0;
> +       return 1;
>  }
>
>  void system_test_odp_cpu_hz(void)
> @@ -250,12 +250,12 @@ int system_check_odp_cpu_hz_id(void)
>                         fprintf(stderr, "cpu %d does not support"
>                                 " odp_cpu_hz_id(),"
>                                 "skip that test\n", cpu);
> -                       return -1;
> +                       return 0;
>                 }
>                 cpu = odp_cpumask_next(&mask, cpu);
>         }
>
> -       return 0;
> +       return 1;
>  }
>
>  void system_test_odp_cpu_hz_id(void)
> --
> 1.9.1
>
> _______________________________________________
> lng-odp mailing list
> [email protected]
> https://lists.linaro.org/mailman/listinfo/lng-odp
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to