linux/drivers/s390
Harald Freudenberger 40501c70e3 s390/zcrypt: replace snprintf/sprintf with scnprintf
snprintf() may not always return the correct size of used bytes but
instead the length the resulting string would be if it would fit into
the buffer. So scnprintf() is the function to use when the real length
of the resulting string is needed.

Replace all occurrences of snprintf() with scnprintf() where the return
code is further processed. Also find and fix some occurrences where
sprintf() was used.

Suggested-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2020-03-23 13:41:54 +01:00
..
block s390: Replace zero-length array with flexible-array member 2020-02-27 16:02:21 +01:00
char s390/mm: remove fake numa support 2020-02-27 16:02:21 +01:00
cio s390/irq: replace setup_irq() by request_irq() 2020-03-11 14:18:44 +01:00
crypto s390/zcrypt: replace snprintf/sprintf with scnprintf 2020-03-23 13:41:54 +01:00
net s390/qeth: remove HARDSETUP state 2020-01-26 15:20:32 +01:00
scsi scsi: zfcp: trace channel log even for FCP command responses 2019-10-28 22:16:15 -04:00
virtio virtio/s390: fix race on airq_areas[] 2019-07-26 13:36:18 +02:00
Makefile s390: remove pointless drivers-y in drivers/s390/Makefile 2019-09-16 13:21:51 +02:00