Re: [PATCH 1/3] arch/metag/kernel/cachepart.c: fix failure check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2014-07-17 16:26 GMT+03:00 Andrey Utkin <andrey.krieger.utkin@xxxxxxxxx>:
> --- a/arch/metag/kernel/cachepart.c
> +++ b/arch/metag/kernel/cachepart.c
> @@ -99,7 +99,7 @@ void check_for_cache_aliasing(int thread_id)
>         for (cache_type = ICACHE; cache_type <= DCACHE; cache_type++) {
>                 thread_cache_size =
>                                 get_thread_cache_size(cache_type, thread_id);
> -               if (thread_cache_size < 0)
> +               if (thread_cache_size == (unsigned int)-1)

If it would be better, i can resubmit with addition of signed
variable, like there: https://patchwork.kernel.org/patch/4575881/

-- 
Andrey Utkin
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux