All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Whitcroft <apw@canonical.com>
To: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: checkpatch.pl and assembly #defines
Date: Tue, 4 Dec 2012 20:44:21 +0000	[thread overview]
Message-ID: <20121204204421.GU30773@dm> (raw)
In-Reply-To: <20121204125923.GA14294@linux.vnet.ibm.com>

On Tue, Dec 04, 2012 at 04:59:23AM -0800, Paul E. McKenney wrote:
> Hello, Andy,
> 
> The current checkpatch.pl complains about cpp macros defined as follows:
> 
> #define callit call my_function
> 
> Of course, if you do put parentheses around the definition, your assembler
> will complain.  Could this complaint be downgraded to a warning?  Or is
> there some way to recognize assembly cpp macros?

Well all checkpatch output is warnings anyhow.  Where are these being
placed, perhaps there is a clue in that at least.

-apw

      reply	other threads:[~2012-12-04 20:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-04 12:59 checkpatch.pl and assembly #defines Paul E. McKenney
2012-12-04 20:44 ` Andy Whitcroft [this message]

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=20121204204421.GU30773@dm \
    --to=apw@canonical.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@linux.vnet.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.