Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1577451

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

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH] perf/core: remove useless cast when comparing
Date 2017-02-09 11:20 +0100
Message-ID <t8TZv-4SY-7@gated-at.bofh.it> (permalink)
References <t8SqJ-3R5-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] perf/core: remove useless cast when comparing Mars Cheng <mars.cheng@mediatek.com> - 2017-02-09 09:40 +0100
  Re: [PATCH] perf/core: remove useless cast when comparing Peter Zijlstra <peterz@infradead.org> - 2017-02-09 11:20 +0100

csiph-web