From: Markus Elfring <Markus.Elfring@web.de>
To: "Julia Lawall" <julia.lawall@lip6.fr>,
"Günter Röck" <linux@roeck-us.net>
Cc: cocci@systeme.lip6.fr
Subject: Re: [Cocci] Introduction of HWMON_CHANNEL_INFO() macro with SmPL?
Date: Sun, 31 Mar 2019 14:45:27 +0200 [thread overview]
Message-ID: <787f59b6-fb37-78d0-fee6-805b3130478f@web.de> (raw)
In-Reply-To: <alpine.DEB.2.21.1903310950160.2578@hadrien>
> @r@
> initializer list elements;
When will a description be added to the SmPL manual for this metavariable?
> identifier i;
> @@
>
> -static const u32 i[] = {
> - elements,
> - 0
> -};
Are any more constraints needed for such a deletion?
> The elements of the array are considered to be an initializer list,
> while the arguments to the macro have to be an expression list.
How do you think about to improve any programming interfaces around
such a data structure conversion?
Regards,
Markus
_______________________________________________
Cocci mailing list
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci
next prev parent reply other threads:[~2019-03-31 12:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-30 22:24 [Cocci] A complex set of rules: can it be done ? Guenter Roeck
2019-03-31 7:58 ` Julia Lawall
2019-03-31 12:45 ` Markus Elfring [this message]
2019-03-31 12:45 ` [Cocci] Introduction of HWMON_CHANNEL_INFO() macro with SmPL? Markus Elfring
2019-03-31 17:42 ` [Cocci] A complex set of rules: can it be done ? Guenter Roeck
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=787f59b6-fb37-78d0-fee6-805b3130478f@web.de \
--to=markus.elfring@web.de \
--cc=cocci@systeme.lip6.fr \
--cc=julia.lawall@lip6.fr \
--cc=linux@roeck-us.net \
/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).