From: Peter Senna Tschudin Date: Wed, 23 Jan 2013 22:06:30 +0000 (-0200) Subject: scripts/coccinelle/misc/memcpy-assign.cocci: Replace memcpy with struct assignment X-Git-Tag: v3.9-rc1~50^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff3771cb717fd532d97f354cd169fd10da0d0339;p=pandora-kernel.git 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 Signed-off-by: Peter Senna Tschudin Signed-off-by: Michal Marek --- Reading git-diff-tree failed