Skip to contentSkip to conversation

crypto mv_cesa : Remove compiler warning in mv_cesa driver

PATCH In review Uri Simchoni 1 participant 1 message Apr 8, 2010 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH v2 2/10 crypto mv_cesa : Remove compiler warning in mv_cesa driver

Remove compiler warning

---

drivers/crypto/mv_cesa.c +1 -0
diff -upr linux-2.6.32.8_p1/drivers/crypto/mv_cesa.c linux-2.6.32.8_p2/drivers/crypto/mv_cesa.c
@@ -178,6 +178,7 @@ static void mv_process_current_q(int fir
 		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);