linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: joe@perches.com (Joe Perches)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] checkpatch:  Add test for positional misuse of section specifiers like __initdata
Date: Sat, 31 Aug 2013 09:04:09 -0700	[thread overview]
Message-ID: <1377965049.2054.15.camel@joe-AO722> (raw)
In-Reply-To: <20130831143123.GC19750@two.firstfloor.org>

On Sat, 2013-08-31 at 16:31 +0200, Andi Kleen wrote:
> > A similar patch was suggested by Andi Kleen
> > https://lkml.org/lkml/2013/8/5/648
> 
> My patch checked for const <-> initdata / non const initconst  mistakes.
> 
> I don't think your patch does that?

Hi Andi.

No it doesn't.

This patch is just warning when using
	struct __initdata foo bar;
instead of
	struct foo bar __initdata;

I'll get around to adding tests for your
cases soonish.

cheers, Joe

  reply	other threads:[~2013-08-31 16:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-28  2:08 [PATCH] checkpatch: Add test for positional misuse of section specifiers like __initdata Joe Perches
2013-08-31 14:31 ` Andi Kleen
2013-08-31 16:04   ` Joe Perches [this message]
2013-08-31 16:41     ` Andi Kleen

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=1377965049.2054.15.camel@joe-AO722 \
    --to=joe@perches.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).