]> git.karo-electronics.de Git - linux-beck.git/commitdiff
crypto: mv_cesa - Remove compiler warning in mv_cesa driver
authorUri Simchoni <uri@jdland.co.il>
Thu, 8 Apr 2010 16:25:56 +0000 (19:25 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 13 Apr 2010 08:50:47 +0000 (16:50 +0800)
Remove compiler warning

Signed-off-by: Uri Simchoni <uri@jdland.co.il>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mv_cesa.c

index 3e60ba909434ff666977ae98cda31af122b47d00..37d9f0688e7575a3e366f6bb9eda5adc5db807b5 100644 (file)
@@ -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);