Re: [PATCH -next 0/3] s390: use scnprintf() in show() methods

2020-06-08 Thread Heiko Carstens
On Sat, May 09, 2020 at 04:56:05PM +0800, Chen Zhou wrote: > snprintf() returns the number of bytes that would be written, > which may be greater than the the actual length to be written. > > show() methods should return the number of bytes printed into the > buffer. This is the return v

[PATCH -next 0/3] s390: use scnprintf() in show() methods

2020-05-09 Thread Chen Zhou
snprintf() returns the number of bytes that would be written, which may be greater than the the actual length to be written. show() methods should return the number of bytes printed into the buffer. This is the return value of scnprintf(). Chen Zhou (3): s390/crypto: use scnprintf()