kernel-ark/scripts/coccinelle
Peter Senna Tschudin ff3771cb71 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>
2013-02-22 11:22:18 +01:00
..
api Coccinelle: add api/d_find_alias.cocci 2012-12-18 15:02:11 -08:00
free coccinelle: semantic patch for missing iounmap 2012-02-25 00:07:11 +01:00
iterators scripts/coccinelle: list iterator variable semantic patch 2012-07-13 23:06:34 +02:00
locks scripts/coccinelle: improve the coverage of some semantic patches 2012-01-15 00:05:46 +01:00
misc scripts/coccinelle/misc/memcpy-assign.cocci: Replace memcpy with struct assignment 2013-02-22 11:22:18 +01:00
null coccinelle: semantic patch converting 0 test to null test 2012-02-25 00:07:11 +01:00
tests scripts/coccinelle/tests/odd_ptr_err.cocci: semantic patch for IS_ERR/PTR_ERR inconsistency 2012-10-11 14:50:51 +02:00