summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorRyan Hsu <ryanhsu@qca.qualcomm.com>2017-02-10 23:27:09 +0300
committerKalle Valo <kvalo@qca.qualcomm.com>2017-02-14 20:56:45 +0300
commita532293fcba4b6b041c1a91674bc284d51280eb7 (patch)
treec3ad32b532b0837089aa29b62a28d8bae8e2a90a /tools/perf/scripts/python/call-graph-from-postgresql.py
parent7be52c03bbf7c8f53211ed13810d64dcb2bc7168 (diff)
downloadlinux-a532293fcba4b6b041c1a91674bc284d51280eb7.tar.xz
ath10k: fix the garage chars in board file name creation
The variant[] string will be valid only if the bdf_ext is set. The string memory needs to be null-terminated to avoid the undefined garbage appended by the subsequent board file name creation. ath10k_pci 0000:04:00.0: failed to fetch board data for "bus=pci,vendor=168c,device=003e,subsystem-vendor=168c,subsystem-device=3363��P�����" from ath10k/QCA6174/hw3.0/board-2.bin Fixes: f2593cb1b291 ("ath10k: Search SMBIOS for OEM board file extension") Reported-by: Kalle Valo <kvalo@qca.qualcomm.com> Signed-off-by: Ryan Hsu <ryanhsu@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions