Merge branch 'sparc-scnprintf'
Chen Zhou says:
====================
sparc: use scnprintf() in show() methods
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().
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment