Re: [PATCH] perf/core: remove useless cast when comparing

From: Peter Zijlstra
Date: Thu Feb 09 2017 - 05:11:51 EST


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.