s390/ccwgroup: increase string buffer size
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 4 May 2017 11:35:33 +0000 (13:35 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 May 2017 08:44:36 +0000 (10:44 +0200)
commit2685df6776b2c69967eaead48f694869f7dc91ca
tree94962218fdfc7bec6f3f43621b161bcd17451e73
parent80ba38469aa28bbcfc7a31e5b41adfc42120465e
s390/ccwgroup: increase string buffer size

Avoid false positive warnings like this with gcc 7.1:

drivers/s390/cio/ccwgroup.c:41:21:
 warning: '%d' directive writing between 1 and 10 bytes into a region of size 4
   sprintf(str, "cdev%d", i);

and simply increase the size of the string buffer.

Reviewed-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/ccwgroup.c