projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0328ac2
)
crypto: mv_cesa - Remove compiler warning in mv_cesa driver
author
Uri Simchoni
<uri@jdland.co.il>
Thu, 8 Apr 2010 16:25:56 +0000
(19:25 +0300)
committer
Herbert 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/crypto/mv_cesa.c
b/drivers/crypto/mv_cesa.c
index 3e60ba909434ff666977ae98cda31af122b47d00..37d9f0688e7575a3e366f6bb9eda5adc5db807b5 100644
(file)
--- 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);