All of lore.kernel.org
 help / color / mirror / Atom feed
From: andi@firstfloor.org (Andi Kleen)
To: cocci@systeme.lip6.fr
Subject: [Cocci] Patch macros
Date: Fri, 14 Feb 2014 07:35:03 -0800	[thread overview]
Message-ID: <87eh35emhk.fsf@tassilo.jf.intel.com> (raw)


Hi,

I was trying to replace static asmlinkage with static. However
it always gives a cocci parsing error. I assume the problem is that
asmlinkage is really a macro (for __attribute__((visible)) in
my case). How to handle this in cocci?

Thanks,

-Andi

@@
type T;
@@
- static asmlinkage T
+ static T


-- 
ak at linux.intel.com -- Speaking for myself only

             reply	other threads:[~2014-02-14 15:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14 15:35 Andi Kleen [this message]
2014-02-14 15:51 ` [Cocci] Patch macros Julia Lawall
2014-02-14 19:56   ` Andi Kleen
2014-02-14 20:14     ` Julia Lawall

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=87eh35emhk.fsf@tassilo.jf.intel.com \
    --to=andi@firstfloor.org \
    --cc=cocci@systeme.lip6.fr \
    /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.