linux/drivers/ntb
Koichiro Den 6a4b50585d 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: fce8a7bb5b ("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>
2026-02-20 17:31:55 -05:00
..
hw ntb: intel: Add Intel Gen6 NTB support for DiamondRapids 2026-02-20 17:31:55 -05:00
test ntb/ntb_tool: correct sscanf format for u64 and size_t in tool_peer_mw_trans_write 2026-02-20 17:31:55 -05:00
core.c ntb: Constify struct bus_type 2024-09-20 10:50:38 -04:00
Kconfig New feature to add support for NTB virtual MSI interrupts, the ability 2019-07-21 09:46:59 -07:00
Makefile New feature to add support for NTB virtual MSI interrupts, the ability 2019-07-21 09:46:59 -07:00
msi.c NTB/msi: Remove unused functions 2026-02-20 17:31:55 -05:00
ntb_transport.c NTB: ntb_transport: Fix too small buffer for debugfs_name 2026-02-20 17:31:55 -05:00