summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2013-01-23 22:06:30 (GMT)
committerMichal Marek <mmarek@suse.cz>2013-02-22 10:22:18 (GMT)
commitff3771cb717fd532d97f354cd169fd10da0d0339 (patch)
treec058d3e3266ac1a3db6bc782cb07012d969c253a /Documentation
parente0367a61567de103b1946bf87115e15253194195 (diff)
downloadlinux-fsl-qoriq-ff3771cb717fd532d97f354cd169fd10da0d0339.tar.xz
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 'Documentation')
0 files changed, 0 insertions, 0 deletions