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: <20170209101126.GA6500@twins.programming.kicks-ass.net>
Date:   Thu, 9 Feb 2017 11:11:26 +0100
From:   Peter Zijlstra <peterz@...radead.org>
To:     Mars Cheng <mars.cheng@...iatek.com>
Cc:     Ingo Molnar <mingo@...hat.com>, CC Hwang <cc.hwang@...iatek.com>,
        Loda Chou <loda.chou@...iatek.com>,
        Miles Chen <miles.chen@...iatek.com>,
        Jades Shih <jades.shih@...iatek.com>,
        Yingjoe Chen <yingjoe.chen@...iatek.com>,
        My Chuang <my.chuang@...iatek.com>,
        linux-kernel@...r.kernel.org, wsd_upstream@...iatek.com
Subject: Re: [PATCH] perf/core: remove useless cast when comparing

On Thu, Feb 09, 2017 at 04:25:46PM +0800, Mars Cheng wrote:
> since nr_cpu_ids and cpu are both int, remove the casting

Please as to learn C before playing. Consider negative numbers.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ