commit | 2685df6776b2c69967eaead48f694869f7dc91ca | [log] [tgz] |
---|---|---|
author | Heiko Carstens <heiko.carstens@de.ibm.com> | Thu May 04 13:35:33 2017 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Tue May 09 10:44:36 2017 +0200 |
tree | 94962218fdfc7bec6f3f43621b161bcd17451e73 | |
parent | 80ba38469aa28bbcfc7a31e5b41adfc42120465e [diff] |
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>