]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
s390/qdio: increase string buffer size
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 4 May 2017 11:39:18 +0000 (13:39 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 May 2017 08:44:37 +0000 (10:44 +0200)
commit6423ef691c50568e56bb7e33a35bf9f8d6142d23
tree98defd666813857ea80840bc9fe8e59a56f336ba
parent2685df6776b2c69967eaead48f694869f7dc91ca
s390/qdio: increase string buffer size

Avoid false positive warnings like this with gcc 7.1:

drivers/s390/cio/qdio_debug.h:63:4:
 note: 'snprintf' output between 8 and 17 bytes into a destination of size 16
    snprintf(debug_buffer, QDIO_DBF_LEN, text);

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/qdio_debug.h