summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-25 16:10:29 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-08-29 17:31:25 +0300
commit8b94dd9e0d4439f83fcc55f1f8020c86e79b623d (patch)
tree49cd288a87815681a4f36453ef47af71c59c7030 /drivers/s390
parentd66bf801e0219ca9495fdb92574f842ba5462e04 (diff)
downloadlinux-8b94dd9e0d4439f83fcc55f1f8020c86e79b623d.tar.xz
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>
Diffstat (limited to 'drivers/s390')
-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},