aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2010-12-21 12:09:47 +0000
committerGreg Kroah-Hartman <[email protected]>2011-02-03 23:10:18 +0000
commitd3f70befd9a6ab79413f303109e2c701472e2785 (patch)
tree1a271b9744ac3b42355026e2cef7d9f97f9e8537 /lib/dynamic_debug.c
parentdocs/sysfs: Update directory/kobject documentation. (diff)
downloadkernel-d3f70befd9a6ab79413f303109e2c701472e2785.tar.gz
kernel-d3f70befd9a6ab79413f303109e2c701472e2785.zip
docs/sysfs: show() methods should use scnprintf().
Since snprintf() may return a value that exceeds its second argument, show() methods should use scnprintf() instead of snprintf(). This patch updates the example in the sysfs documentation accordingly. Signed-off-by: Bart Van Assche <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Dmitry Torokhov <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions