public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Mars Cheng <mars.cheng@mediatek.com>
Cc: Ingo Molnar <mingo@redhat.com>, CC Hwang <cc.hwang@mediatek.com>,
	Loda Chou <loda.chou@mediatek.com>,
	Miles Chen <miles.chen@mediatek.com>,
	Jades Shih <jades.shih@mediatek.com>,
	Yingjoe Chen <yingjoe.chen@mediatek.com>,
	My Chuang <my.chuang@mediatek.com>,
	linux-kernel@vger.kernel.org, wsd_upstream@mediatek.com
Subject: Re: [PATCH] perf/core: remove useless cast when comparing
Date: Thu, 9 Feb 2017 11:11:26 +0100	[thread overview]
Message-ID: <20170209101126.GA6500@twins.programming.kicks-ass.net> (raw)
In-Reply-To: <1486628746-23538-1-git-send-email-mars.cheng@mediatek.com>

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.

  reply	other threads:[~2017-02-09 10:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-09  8:25 [PATCH] perf/core: remove useless cast when comparing Mars Cheng
2017-02-09 10:11 ` Peter Zijlstra [this message]
2017-02-13  2:38 ` [lkp-robot] [perf/core] bc2a73c243: WARNING:at_include/linux/cpumask.h:#find_get_context kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170209101126.GA6500@twins.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=cc.hwang@mediatek.com \
    --cc=jades.shih@mediatek.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loda.chou@mediatek.com \
    --cc=mars.cheng@mediatek.com \
    --cc=miles.chen@mediatek.com \
    --cc=mingo@redhat.com \
    --cc=my.chuang@mediatek.com \
    --cc=wsd_upstream@mediatek.com \
    --cc=yingjoe.chen@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox