crytpo: ccp - fix coccinelle warnings
authorFengguang Wu <fengguang.wu@intel.com>
Mon, 9 Dec 2013 12:08:19 +0000 (20:08 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 9 Dec 2013 12:08:19 +0000 (20:08 +0800)
commitd1dd206c2abf678889445e63ecc949e9274f5806
treef4e13b84d6acfaa6b9a859ce8922249c653aadd0
parentf7b2b5dd6a62a47e871627c71ed01aa3482154d9
crytpo: ccp - fix coccinelle warnings

drivers/crypto/ccp/ccp-crypto-aes.c:344:1-7: Replace memcpy with struct assignment
drivers/crypto/ccp/ccp-crypto-sha.c:398:1-7: Replace memcpy with struct assignment
drivers/crypto/ccp/ccp-dev.c:578:2-3: Unneeded semicolon
/c/kernel-tests/src/cocci/drivers/crypto/ccp/ccp-dev.c:565:2-3: Unneeded semicolon

Generated by: coccinelle/misc/memcpy-assign.cocci

CC: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-crypto-aes.c
drivers/crypto/ccp/ccp-crypto-sha.c
drivers/crypto/ccp/ccp-dev.c