Seymour, Shane M 223e8f01b0 sysfs.txt: update show method notes about sprintf/snprintf/scnprintf usage
Changed the documentation to allow sprintf() when the buffer
provided by sysfs cannot be overflowed. Explicitly say
snprintf() must never be used in a show function to format
data to be returned to user space.

Change based on a discussion about the patch
st: convert DRIVER_ATTR macros to DRIVER_ATTR_RO

Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Shane Seymour <shane.seymour@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-08-05 15:13:21 -07:00
..
2014-08-02 01:26:07 -05:00
2014-01-24 10:55:21 -06:00
2014-01-28 13:20:20 -08:00
2015-02-16 17:56:04 -08:00
2015-04-10 15:08:52 -07:00
2012-05-10 11:45:31 +01:00
2015-05-07 17:07:41 -06:00
2015-05-18 11:23:07 +02:00
2013-07-25 12:34:15 +02:00
2014-12-29 15:40:18 -07:00
2014-05-05 15:32:05 +02:00
2015-06-24 20:01:36 -07:00
2015-06-01 07:15:38 +10:00