linux-stable/drivers/s390
Heiko Carstens 79140e22d2 s390/qeth: add __printf format attribute to qeth_dbf_longtext
Allow the compiler to recognize and check format strings and parameters.

As reported with allmodconfig and W=1:

drivers/s390/net/qeth_core_main.c: In function ‘qeth_dbf_longtext’:
drivers/s390/net/qeth_core_main.c:6190:9: error: function ‘qeth_dbf_longtext’ might be a candidate for ‘gnu_printf’ format attribute [-Werror=suggest-attribute=format]
 6190 |         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: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-10-25 13:58:19 +01:00
..
block 2nd batch of s390 updates for 5.15 merge window 2021-09-09 12:55:12 -07:00
char s390/sclp: fix Secure-IPL facility detection 2021-09-15 14:29:21 +02:00
cio s390/qeth: move qdio's QAOB cache into qeth 2021-10-25 13:58:19 +01:00
crypto vfio/ap_ops: Add missed vfio_uninit_group_dev() 2021-09-24 10:04:44 -06:00
net s390/qeth: add __printf format attribute to qeth_dbf_longtext 2021-10-25 13:58:19 +01:00
scsi 2nd batch of s390 updates for 5.15 merge window 2021-09-09 12:55:12 -07:00
virtio virtio/s390: get rid of open-coded kvm hypercall 2021-06-28 11:18:28 +02:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00