projects
/
GitHub
/
moto-9609
/
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:
1822793
)
crypto: atmel-aes - Add missing break to atmel_aes_reg_name
author
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 19 Jan 2016 01:05:43 +0000
(09:05 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 19 Jan 2016 07:52:08 +0000
(15:52 +0800)
The debug function atmel_aes_reg_name was missing a break for
AES_GCMHR.
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-aes.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/crypto/atmel-aes.c
b/drivers/crypto/atmel-aes.c
index 5621612ee92169da0e7f934a6c45a4ee29690f97..6dd3317ca3653947c00ee4790ca18417f3431d79 100644
(file)
--- a/
drivers/crypto/atmel-aes.c
+++ b/
drivers/crypto/atmel-aes.c
@@
-280,6
+280,7
@@
static const char *atmel_aes_reg_name(u32 offset, char *tmp, size_t sz)
case AES_GCMHR(2):
case AES_GCMHR(3):
snprintf(tmp, sz, "GCMHR[%u]", (offset - AES_GCMHR(0)) >> 2);
+ break;
default:
snprintf(tmp, sz, "0x%02x", offset);