diff options
| author | 2026-01-07 13:24:57 +0900 | |
|---|---|---|
| committer | 2026-02-20 17:31:55 -0500 | |
| commit | 6a4b50585d74fe45d3ade1e3e86ba8aae79761a5 (patch) | |
| tree | f9f067eb4214554163d92230bebc465fedda5c9b /tools/perf/scripts/python/stackcollapse.py | |
| parent | ntb/ntb_tool: correct sscanf format for u64 and size_t in tool_peer_mw_trans_write (diff) | |
NTB: ntb_transport: Fix too small buffer for debugfs_name
The buffer used for "qp%d" was only 4 bytes, which truncates names like
"qp10" to "qp1" and causes multiple queues to share the same directory.
Enlarge the buffer and use sizeof() to avoid truncation.
Fixes: fce8a7bb5b4b ("PCI-Express Non-Transparent Bridge Support")
Cc: <stable@vger.kernel.org> # v3.9+
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Koichiro Den <den@valinux.co.jp>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
