lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANZNk83O6jjQ1-zN2f7pFnv9tfMATLELEuf6=d8KVe6BYP_qyg@mail.gmail.com>
Date:	Thu, 17 Jul 2014 17:25:13 +0300
From:	Andrey Utkin <andrey.krieger.utkin@...il.com>
To:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	kernel-janitors@...r.kernel.org, linux-metag@...r.kernel.org
Cc:	james.hogan@...tec.com,
	Andrey Utkin <andrey.krieger.utkin@...il.com>
Subject: Re: [PATCH 1/3] arch/metag/kernel/cachepart.c: fix failure check

2014-07-17 16:26 GMT+03:00 Andrey Utkin <andrey.krieger.utkin@...il.com>:
> --- 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 linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ