From: mmarek@suse.cz (Michal Marek)
To: cocci@systeme.lip6.fr
Subject: [Cocci] [PATCH V2] scripts/coccinelle/misc/memcpy-assign.cocci: Replace memcpy with struct assignment
Date: Fri, 22 Feb 2013 11:25:04 +0100 [thread overview]
Message-ID: <20130222102503.GD12402@pobox.suse.cz> (raw)
In-Reply-To: <1358978790-2990-1-git-send-email-peter.senna@gmail.com>
On Wed, Jan 23, 2013 at 08:06:30PM -0200, Peter Senna Tschudin wrote:
> There are error-prone memcpy() that can be replaced by struct
> assignment that are type-safe and much easier to read. This semantic
> patch looks for memcpy() that can be replaced by struct assignment.
>
> Inspired by patches sent by Ezequiel Garcia <elezegarcia@gmail.com>
>
> Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
> ---
> Changes from V1:
> Updated commit message
> Changed Confidence comment to High on the semantic patch
Applied to kbuild.git#misc, thanks.
Michal
prev parent reply other threads:[~2013-02-22 10:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-23 22:06 [Cocci] [PATCH V2] scripts/coccinelle/misc/memcpy-assign.cocci: Replace memcpy with struct assignment Peter Senna Tschudin
2013-01-24 17:47 ` [Cocci] Prepending '*' to an expression (Was: [PATCH V2] scripts/coccinelle/misc/memcpy-assign.cocci: Replace memcpy with struct assignment) Michael Stefaniuc
2013-01-24 18:05 ` Julia Lawall
2013-01-26 1:28 ` Peter Senna Tschudin
2013-01-27 20:46 ` Michael Stefaniuc
2013-01-28 22:04 ` Julia Lawall
2013-01-29 21:38 ` Michael Stefaniuc
2013-01-29 21:42 ` Julia Lawall
2013-02-06 14:37 ` Michael Stefaniuc
2013-02-22 10:25 ` Michal Marek [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=20130222102503.GD12402@pobox.suse.cz \
--to=mmarek@suse.cz \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox