[<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