aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2015-06-22 18:12:24 +0300
committerLinus Walleij <[email protected]>2015-07-16 10:20:03 +0200
commit8749f8ed5cc07f4f130f2e5b2c41da78388146ec (patch)
tree4e3b5ab995587f70f03d34bb96843833996ee36a /tools/perf/scripts/python/event_analyzing_sample.py
parent95b612cc6c7f95f4e08f1b3dbc6588fda49b1b12 (diff)
pinctrl: samsung: don't truncate the last char
We were allocating enough space because sizeof("-grp") and sizeof("-mux") are both equal to 5 but in the snprintf() we only allowed for 4 characters so the last 'p' and 'x' characters were truncated. The allocate and sprintf can be done in one step with the kasprintf(). Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions