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:
cac367b
)
crypto: n2 - set array of const as const
author
LABBE Corentin
<clabbe.montjoie@gmail.com>
Wed, 14 Oct 2015 19:15:13 +0000
(21:15 +0200)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 15 Oct 2015 13:05:20 +0000
(21:05 +0800)
Some array of const char are not set as const.
This patch fix that.
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/n2_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/crypto/n2_core.c
b/drivers/crypto/n2_core.c
index 2e8dab9d4263b000c51b8c8e584cdeb636fe1e14..5450880abb7b97a4f3ba29fb36b384b91e639965 100644
(file)
--- a/
drivers/crypto/n2_core.c
+++ b/
drivers/crypto/n2_core.c
@@
-34,7
+34,7
@@
#define DRV_MODULE_VERSION "0.2"
#define DRV_MODULE_RELDATE "July 28, 2011"
-static char version[] =
+static c
onst c
har version[] =
DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n";
MODULE_AUTHOR("David S. Miller (davem@davemloft.net)");