diff options
author | David S. Miller <davem@davemloft.net> | 2020-05-13 15:35:58 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-13 15:35:58 -0700 |
commit | fcdf818d239ee38c258a2ad56f9e49834d23f402 (patch) | |
tree | 73d8849b942454df345de2b5243ad644e6694093 /drivers/thermal | |
parent | 9ef391bdc29f0570c2be578210e220d15ea7a453 (diff) | |
parent | 117e2cb3eeee2940ba581d104951f6207cb46ce5 (diff) |
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>
Diffstat (limited to 'drivers/thermal')
0 files changed, 0 insertions, 0 deletions