aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorRohit Sarkar <[email protected]>2019-09-10 23:54:15 +0530
committerGreg Kroah-Hartman <[email protected]>2019-09-30 21:57:57 +0200
commit88b3673ec0d6403c25d52e0a46797485e9d01150 (patch)
tree4573f948d0cff1c6bc823f319ef641bca895e955 /tools/perf/scripts/python/bin/stackcollapse-report
parent1c0c5e9b23128eb5bf37d7cbf17051571420c0a6 (diff)
staging: rtl8192u: ieee80211: Replace snprintf with scnprintf
When the number of bytes to be printed exceeds the limit snprintf returns the number of bytes that would have been printed (if there was no truncation). This might cause issues, hence use scnprintf which returns the actual number of bytes printed to buffer always. Signed-off-by: Rohit Sarkar <[email protected]> Link: https://lore.kernel.org/r/20190910182415.GA5768@SARKAR Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions