linux/drivers/s390
Heiko Carstens dddbf91387 s390/ctcm: add __printf format attribute to ctcm_dbf_longtext
Allow the compiler to recognize and check format strings and parameters.

As reported with allmodconfig and W=1:

drivers/s390/net/ctcm_dbug.c: In function ‘ctcm_dbf_longtext’:
drivers/s390/net/ctcm_dbug.c:73:9: error: function ‘ctcm_dbf_longtext’ might be a candidate for ‘gnu_printf’ format attribute [-Werror=suggest-attribute=format]
   73 |         vsnprintf(dbf_txt_buf, sizeof(dbf_txt_buf), fmt, args);
      |         ^~~~~~~~~

Acked-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-11-19 11:12:30 +00:00
..
block s390 updates for the 5.16 merge window 2021-11-06 14:48:06 -07:00
char s390/tape: fix timer initialization in tape_std_assign() 2021-11-08 14:17:49 +01:00
cio s390/cio: check the subchannel validity for dev_busid 2021-11-08 14:17:49 +01:00
crypto s390 updates for the 5.16 merge window 2021-11-06 14:48:06 -07:00
net s390/ctcm: add __printf format attribute to ctcm_dbf_longtext 2021-11-19 11:12:30 +00:00
scsi scsi: zfcp: Switch to attribute groups 2021-10-16 21:45:53 -04:00
virtio virtio/s390: get rid of open-coded kvm hypercall 2021-06-28 11:18:28 +02:00
Makefile