summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-04-21 16:14:40 +0300
committerFelix Fietkau <nbd@nbd.name>2021-04-21 20:55:56 +0200
commitc8131dc32be24d4413e7ed534f53e8b0cc5d3c36 (patch)
treeb3e49a6e6199e7c91803188512194ccdea901337 /tools/perf/scripts/python/stackcollapse.py
parentfdc088a7f4b0fe5204995b9c236e338c200cc44c (diff)
mt76: mt7615: fix a precision vs width bug in printk
Precision "%.*s" was intended instead of width "%*s". The original code will print garbage from beyond the end of the skb->data. Fixes: d76d6c3ba2b0 ("mt76: mt7615: limit firmware log message printk to buffer length") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions