diff options
author | Peter Senna Tschudin <peter.senna@gmail.com> | 2013-01-23 20:06:30 -0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2013-02-22 11:22:18 +0100 |
commit | ff3771cb717fd532d97f354cd169fd10da0d0339 (patch) | |
tree | c058d3e3266ac1a3db6bc782cb07012d969c253a /scripts/ksymoops | |
parent | e0367a61567de103b1946bf87115e15253194195 (diff) | |
download | linux-ff3771cb717fd532d97f354cd169fd10da0d0339.tar.gz linux-ff3771cb717fd532d97f354cd169fd10da0d0339.tar.bz2 linux-ff3771cb717fd532d97f354cd169fd10da0d0339.zip |
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/ksymoops')
0 files changed, 0 insertions, 0 deletions