Skip to content

Commit

Permalink
[S390] drivers/s390/char: Use static const char arrays
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
  • Loading branch information
Joe Perches authored and Martin Schwidefsky committed Oct 25, 2010
1 parent 189b93d commit bf2106a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/s390/char/vmlogrdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ static void vmlogrdr_iucv_message_pending(struct iucv_path *path,

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 *tail;
int len,i;
Expand Down Expand Up @@ -638,7 +638,7 @@ static ssize_t vmlogrdr_recording_status_show(struct device_driver *driver,
char *buf)
{

char cp_command[] = "QUERY RECORDING ";
static const char cp_command[] = "QUERY RECORDING ";
int len;

cpcmd(cp_command, buf, 4096, NULL);
Expand Down

0 comments on commit bf2106a

Please sign in to comment.