summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorUri Simchoni <uri@jdland.co.il>2010-04-08 18:25:56 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2010-04-13 10:50:47 +0200
commit6bc6fcd609080461682c5cc0a1e3bf4345d6419d (patch)
tree89f6df9bf0872ce7f448be78efaf174fba6598ce /drivers/crypto
parentcrypto: mv_cesa - Invoke the user callback from a softirq context (diff)
downloadlinux-6bc6fcd609080461682c5cc0a1e3bf4345d6419d.tar.xz
linux-6bc6fcd609080461682c5cc0a1e3bf4345d6419d.zip
crypto: mv_cesa - Remove compiler warning in mv_cesa driver
Remove compiler warning Signed-off-by: Uri Simchoni <uri@jdland.co.il> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/mv_cesa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c
index 3e60ba909434..37d9f0688e75 100644
--- a/drivers/crypto/mv_cesa.c
+++ b/drivers/crypto/mv_cesa.c
@@ -178,6 +178,7 @@ static void mv_process_current_q(int first_block)
op.config = CFG_OP_CRYPT_ONLY | CFG_ENCM_AES | CFG_ENC_MODE_ECB;
break;
case COP_AES_CBC:
+ default:
op.config = CFG_OP_CRYPT_ONLY | CFG_ENCM_AES | CFG_ENC_MODE_CBC;
op.enc_iv = ENC_IV_POINT(SRAM_DATA_IV) |
ENC_IV_BUF_POINT(SRAM_DATA_IV_BUF);