summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-25 18:40:29 +0530
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-08-29 16:31:25 +0200
commit8b94dd9e0d4439f83fcc55f1f8020c86e79b623d (patch)
tree49cd288a87815681a4f36453ef47af71c59c7030
parentd66bf801e0219ca9495fdb92574f842ba5462e04 (diff)
downloadlinux-exynos-8b94dd9e0d4439f83fcc55f1f8020c86e79b623d.tar.gz
linux-exynos-8b94dd9e0d4439f83fcc55f1f8020c86e79b623d.tar.bz2
linux-exynos-8b94dd9e0d4439f83fcc55f1f8020c86e79b623d.zip
s390/zcrypt: make CPRBX const
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--drivers/s390/crypto/zcrypt_msgtype6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/crypto/zcrypt_msgtype6.c b/drivers/s390/crypto/zcrypt_msgtype6.c
index 4fddb4319481..afd20cee7ea0 100644
--- a/drivers/s390/crypto/zcrypt_msgtype6.c
+++ b/drivers/s390/crypto/zcrypt_msgtype6.c
@@ -140,7 +140,7 @@ struct function_and_rules_block {
* + 0x000A 'MRP ' (MCL3 'PK' or CEX2C 'PK')
* - VUD block
*/
-static struct CPRBX static_cprbx = {
+static const struct CPRBX static_cprbx = {
.cprb_len = 0x00DC,
.cprb_ver_id = 0x02,
.func_id = {0x54, 0x32},