Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | scripts/coccinelle/misc/memcpy-assign.cocci: Replace memcpy with struct ↵ | Peter Senna Tschudin | 2013-02-22 | 1 | -0/+103 |
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> |