aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-10-25 10:10:20 -0400
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2010-10-25 10:10:16 -0400
commitbf2106ae114807772506e62cbf8a7d8e2c5403a1 (patch)
tree1efcb5d917c898e2ebda3f872dcbb8982da39128 /drivers/s390
parent189b93d00fd6f71b013ad472fd72c0f043b160a9 (diff)
[S390] drivers/s390/char: Use static const char arrays
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/char/vmlogrdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/char/vmlogrdr.c b/drivers/s390/char/vmlogrdr.c
index 0d6dc4b92cc2..9f661426e4a1 100644
--- a/drivers/s390/char/vmlogrdr.c
+++ b/drivers/s390/char/vmlogrdr.c
@@ -215,7 +215,7 @@ static void vmlogrdr_iucv_message_pending(struct iucv_path *path,
215 215
216static int vmlogrdr_get_recording_class_AB(void) 216static int vmlogrdr_get_recording_class_AB(void)
217{ 217{
218 char cp_command[]="QUERY COMMAND RECORDING "; 218 static const char cp_command[] = "QUERY COMMAND RECORDING ";
219 char cp_response[80]; 219 char cp_response[80];
220 char *tail; 220 char *tail;
221 int len,i; 221 int len,i;
@@ -638,7 +638,7 @@ static ssize_t vmlogrdr_recording_status_show(struct device_driver *driver,
638 char *buf) 638 char *buf)
639{ 639{
640 640
641 char cp_command[] = "QUERY RECORDING "; 641 static const char cp_command[] = "QUERY RECORDING ";
642 int len; 642 int len;
643 643
644 cpcmd(cp_command, buf, 4096, NULL); 644 cpcmd(cp_command, buf, 4096, NULL);