From: Markus Elfring <Markus.Elfring@web.de>
To: Anusha Srivatsa <asrivats@redhat.com>, cocci@inria.fr
Cc: Maxime Ripard <mripard@redhat.com>
Subject: Re: [cocci] Ellipses usage in line addition
Date: Sat, 18 Jan 2025 11:09:13 +0100 [thread overview]
Message-ID: <7252d34c-8d6d-47ee-9dd7-b5a54fdb0f02@web.de> (raw)
In-Reply-To: <CAN9Xe3T2LjcD9Xr8vAGQWu5MUvVjr-eEaMhB-JauL5DW0aA9QQ@mail.gmail.com>
…
> Would be nice to know what is going wrong with this approach.
Will you get further development ideas from another script variant
for the semantic patch language like the following?
@adjustment@
identifier var;
expression device;
@@
struct mipi_dsi_device * var = device;
+struct mipi_dsi_multi_context dsi_ctx = { .dsi = var };
<+...
-mipi_dsi_dcs_write_seq(var
+mipi_dsi_dcs_write_seq_multi(&dsi_ctx
, ...);
...+>
Markus_Elfring@Sonne:…/Projekte/Linux/next-analyses> spatch …/Projekte/Coccinelle/Probe/suggestion_for_Anusha_Srivatsa2.cocci -j4 -dir drivers/gpu/drm/panel
…
Regards,
Markus
prev parent reply other threads:[~2025-01-18 10:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-14 16:42 [cocci] Ellipses usage in line addition Anusha Srivatsa
2025-01-14 17:49 ` Julia Lawall
2025-01-14 17:28 ` Anusha Srivatsa
2025-01-14 18:39 ` Julia Lawall
2025-01-14 21:25 ` Anusha Srivatsa
2025-01-14 22:37 ` Julia Lawall
2025-01-15 15:44 ` Anusha Srivatsa
2025-01-17 21:41 ` Julia Lawall
2025-01-17 21:36 ` Julia Lawall
2025-01-15 8:56 ` Markus Elfring
2025-01-18 10:09 ` 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=7252d34c-8d6d-47ee-9dd7-b5a54fdb0f02@web.de \
--to=markus.elfring@web.de \
--cc=asrivats@redhat.com \
--cc=cocci@inria.fr \
--cc=mripard@redhat.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 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 read-only IMAP folder(s) and NNTP newsgroup(s).