From: Markus Elfring <Markus.Elfring@web.de>
To: Chad Aldreda <ca@modelmiser.com>, cocci@inria.fr
Cc: LKML <linux-kernel@vger.kernel.org>,
Julia Lawall <Julia.Lawall@inria.fr>,
Nicolas Palix <nicolas.palix@imag.fr>
Subject: Re: [PATCH] coccinelle: api: add a checker for device nodes in devm_ memory
Date: Sat, 7 Nov 2026 15:37:37 +0100 [thread overview]
Message-ID: <a762db71-437e-48a6-9280-9bb43af76843@web.de> (raw)
In-Reply-To: <20261106193517.3267013-2-ca@modelmiser.com>
…
> +@allocdecl depends on org || report exists@
…
How do you think about to avoid duplicate code by using another SmPL disjunction?
(T *x = fn@p(...);
|x = fn@p(...);
)
See also:
https://gitlab.inria.fr/coccinelle/coccinelle/-/blob/ea58efe355dea2184217954248a01f5dc5995d24/standard.iso#L465-489
https://github.com/coccinelle/coccinelle/blob/11b93adb6516a358a6687051e5762136666626e0/standard.iso#L465-L489
Regards,
Markus
prev parent reply other threads:[~2026-11-07 14:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-06 19:35 Chad Aldreda
2026-11-06 20:20 ` Julia Lawall
2026-11-06 21:07 ` Chad Aldreda
2026-11-07 9:10 ` [cocci] " Markus Elfring
2026-11-07 10:55 ` Markus Elfring
2026-11-07 13:40 ` Markus Elfring
2026-11-07 14:37 ` Markus Elfring [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=a762db71-437e-48a6-9280-9bb43af76843@web.de \
--to=markus.elfring@web.de \
--cc=Julia.Lawall@inria.fr \
--cc=ca@modelmiser.com \
--cc=cocci@inria.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.palix@imag.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®