aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorTian Tao <[email protected]>2021-04-12 17:35:44 +0800
committerMiquel Raynal <[email protected]>2021-05-10 10:44:43 +0200
commitce675043fa12dfc50276e00f31da61e14846b178 (patch)
tree98fee350632c63729118ab5a28d62be8f3496e09 /tools/perf/scripts/python/stackcollapse.py
parent5b2fbe0ca0e8a88f8da3c96cd6628561852be655 (diff)
mtd: mtdpart: Convert sysfs sprintf/snprintf family to sysfs_emit
Use sysfs_emit instead of snprintf to avoid buf overrun,because in sysfs_emit it strictly checks whether buf is null or buf whether pagesize aligned, otherwise it returns an error. Signed-off-by: Tian Tao <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions