From: mmcconville@mykolab.com (Michael McConville)
To: cocci@systeme.lip6.fr
Subject: [Cocci] Finding all uses of a flag define
Date: Tue, 29 Sep 2015 13:51:36 -0400 [thread overview]
Message-ID: <20150929175135.GA32346@thinkpad.swarthmore.edu> (raw)
In-Reply-To: <alpine.DEB.2.10.1509291942410.2615@hadrien>
Julia Lawall wrote:
> On Tue, 29 Sep 2015, Michael McConville wrote:
> > This is probably a simple question. I'm trying to find all uses of
> > the preproc define M_WAITOK used in the second argument of malloc()
> > or mallocarray(). It may be or'd with other flags in any order.
>
> malloc(e1, M_WAITOK | ...)
Right, thanks. I was trying to get too fancy by using a disjunction.
I'll just make separate rules for malloc and mallocarray.
next prev parent reply other threads:[~2015-09-29 17:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-29 17:38 [Cocci] Finding all uses of a flag define Michael McConville
2015-09-29 17:43 ` Julia Lawall
2015-09-29 17:51 ` Michael McConville [this message]
2015-09-29 17:54 ` 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=20150929175135.GA32346@thinkpad.swarthmore.edu \
--to=mmcconville@mykolab.com \
--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.