From: Uri Simchoni Date: Thu, 8 Apr 2010 16:25:56 +0000 (+0300) Subject: crypto: mv_cesa - Remove compiler warning in mv_cesa driver X-Git-Tag: Ubuntu-snapdragon-4.4.0-1050.54~21944^2~37 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=6bc6fcd609080461682c5cc0a1e3bf4345d6419d;p=mirror_ubuntu-artful-kernel.git crypto: mv_cesa - Remove compiler warning in mv_cesa driver Remove compiler warning Signed-off-by: Uri Simchoni Signed-off-by: Herbert Xu --- 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);