Commit bf2106ae authored by Joe Perches's avatar Joe Perches Committed by Martin Schwidefsky

[S390] drivers/s390/char: Use static const char arrays

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 189b93d0
...@@ -215,7 +215,7 @@ static void vmlogrdr_iucv_message_pending(struct iucv_path *path, ...@@ -215,7 +215,7 @@ static void vmlogrdr_iucv_message_pending(struct iucv_path *path,
static int vmlogrdr_get_recording_class_AB(void) static int vmlogrdr_get_recording_class_AB(void)
{ {
char cp_command[]="QUERY COMMAND RECORDING "; static const char cp_command[] = "QUERY COMMAND RECORDING ";
char cp_response[80]; char cp_response[80];
char *tail; char *tail;
int len,i; int len,i;
...@@ -638,7 +638,7 @@ static ssize_t vmlogrdr_recording_status_show(struct device_driver *driver, ...@@ -638,7 +638,7 @@ static ssize_t vmlogrdr_recording_status_show(struct device_driver *driver,
char *buf) char *buf)
{ {
char cp_command[] = "QUERY RECORDING "; static const char cp_command[] = "QUERY RECORDING ";
int len; int len;
cpcmd(cp_command, buf, 4096, NULL); cpcmd(cp_command, buf, 4096, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment