summaryrefslogtreecommitdiffstats
path: root/block/blk-cgroup.c
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2021-11-18 17:06:06 +0100
committerDavid S. Miller <davem@davemloft.net>2021-11-19 11:12:30 +0000
commitdddbf91387a04a03a8e071cb4857403df219382e (patch)
tree4cd0caef95ec2707b46e1d078a98536dab78a5d5 /block/blk-cgroup.c
parent9961d6d50b7f53ab75049ebf3bea1ff560014bed (diff)
downloadlinux-dddbf91387a04a03a8e071cb4857403df219382e.tar.bz2
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>
Diffstat (limited to 'block/blk-cgroup.c')
0 files changed, 0 insertions, 0 deletions