linux/drivers/s390
Thorsten Winkler 1471d85ffb s390/ctcm: Convert sprintf/snprintf to scnprintf
This LWN article explains the why scnprintf is preferred over snprintf
in general
https://lwn.net/Articles/69419/
Ie. snprintf() returns what *would* be the resulting length, while
scnprintf() returns the actual length.

Note that ctcm_print_statistics() writes the data into the kernel log
and is therefore not suitable for sysfs_emit(). Observable behavior is
not changed, as there may be dependencies.

Reviewed-by: Alexandra Winter <wintera@linux.ibm.com>
Signed-off-by: Thorsten Winkler <twinkler@linux.ibm.com>
Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-06-23 11:55:55 +02:00
..
block s390/dasd: Use correct lock while counting channel queue length 2023-06-09 11:35:52 -06:00
char s390 updates for the 6.4 merge window 2023-04-30 11:43:31 -07:00
cio s390/cio: unregister device when the only path is gone 2023-05-22 12:45:44 +02:00
crypto s390/pkey: zeroize key blobs 2023-05-15 14:20:13 +02:00
net s390/ctcm: Convert sprintf/snprintf to scnprintf 2023-06-23 11:55:55 +02:00
scsi scsi: zfcp: Declare SCSI host template const 2023-03-24 19:19:20 -04:00
virtio virtio: add VIRTIO_F_NOTIFICATION_DATA feature support 2023-04-21 03:02:35 -04:00
Makefile