summaryrefslogtreecommitdiffstats
path: root/scripts/coccicheck
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2013-01-23 20:06:30 -0200
committerMichal Marek <mmarek@suse.cz>2013-02-22 11:22:18 +0100
commitff3771cb717fd532d97f354cd169fd10da0d0339 (patch)
treec058d3e3266ac1a3db6bc782cb07012d969c253a /scripts/coccicheck
parente0367a61567de103b1946bf87115e15253194195 (diff)
downloadlinux-ff3771cb717fd532d97f354cd169fd10da0d0339.tar.bz2
scripts/coccinelle/misc/memcpy-assign.cocci: Replace memcpy with struct assignment
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> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/coccicheck')
0 files changed, 0 insertions, 0 deletions