From: Paul Bolle <pebolle@tiscali.nl>
To: Rabin Vincent <rabin@rab.in>
Cc: jesper.nilsson@axis.com, linux-cris-kernel@axis.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/6] CRIS: remove SMP code
Date: Sat, 21 Feb 2015 10:14:49 +0100 [thread overview]
Message-ID: <1424510089.24292.20.camel@x220> (raw)
In-Reply-To: <20150221004051.GA28839@debian>
On Sat, 2015-02-21 at 01:40 +0100, Rabin Vincent wrote:
> On Fri, Feb 20, 2015 at 01:06:03AM +0100, Paul Bolle wrote:
> > On Thu, 2015-02-19 at 20:29 +0100, Rabin Vincent wrote:
> > > The CRIS SMP code cannot be built since there is no (and appears to
> > > never have been) a CONFIG_SMP Kconfig option in arch/cris/. Remove it.
> >
> > Yes, it appears there never was a Kconfig symbol SMP for cris so this
> > probably was dead code ever since it was added in, I think, v2.6.13. (I
> > should mention I didn't review this patch, or cris' apparently
> > non-functional SMP code, in detail.)
> >
> > Mind if I ask how you spotted this?
>
> If you're asking if I used some kind of script, no, I didn't. I just
> noticed it while working on other CRIS patches.
Yes. See, I run a script locally. It is rather simple and only catches
the more obvious kconfig related mistakes. I'm pretty sure I won't
bother teaching it to spot mistakes like this one. But other people are
working on a sophisticated bot that might be able to catch those.
But, anyhow, just paying attention when fiddling with a piece of code
and spotting possible oddities is of course greatly appreciated!
Paul Bolle
next prev parent reply other threads:[~2015-02-21 9:14 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-19 19:29 [PATCH 1/6] CRISv32: don't enable irqs in INIT_THREAD Rabin Vincent
2015-02-19 19:29 ` [PATCH 2/6] CRIS: remove SMP code Rabin Vincent
2015-02-20 0:06 ` Paul Bolle
2015-02-20 5:05 ` Mikael Starvik
2015-02-21 0:40 ` Rabin Vincent
2015-02-21 9:14 ` Paul Bolle [this message]
2015-02-20 0:33 ` Jesper Nilsson
2015-02-19 19:29 ` [PATCH 3/6] CRIS: use generic atomic bitops Rabin Vincent
2015-02-20 0:28 ` Jesper Nilsson
2015-02-22 20:07 ` [PATCH] CRISv10: remove redundant macros from system.h Rabin Vincent
2015-02-19 19:29 ` [PATCH 4/6] CRIS: use generic atomic.h Rabin Vincent
2015-02-20 0:32 ` Jesper Nilsson
2015-02-19 19:29 ` [PATCH 5/6] CRIS: use generic cmpxchg.h Rabin Vincent
2015-02-20 0:30 ` Jesper Nilsson
2015-02-19 19:29 ` [PATCH 6/6] CRIS: use generic headers via Kbuild Rabin Vincent
2015-02-20 0:30 ` Jesper Nilsson
2015-02-20 0:27 ` [PATCH 1/6] CRISv32: don't enable irqs in INIT_THREAD Jesper Nilsson
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=1424510089.24292.20.camel@x220 \
--to=pebolle@tiscali.nl \
--cc=jesper.nilsson@axis.com \
--cc=linux-cris-kernel@axis.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rabin@rab.in \
/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