aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ntb/ntb_transport.c
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2016-06-20 13:15:08 -0600
committerJon Mason <jdmason@kudzu.us>2016-08-05 10:05:31 -0400
commit625f0802e84e47760959a5015fdc704d809fd6c8 (patch)
tree1c2a3ae29c27bcb9bb5dcae08c1470d3b0d15516 /drivers/ntb/ntb_transport.c
parentntb_tool: Fix infinite loop bug when writing spad/peer_spad file (diff)
downloadlinux-dev-625f0802e84e47760959a5015fdc704d809fd6c8.tar.xz
linux-dev-625f0802e84e47760959a5015fdc704d809fd6c8.zip
ntb_tool: BUG: Ensure the buffer size is large enough to return all spads
On hardware with 32 scratchpad registers the spad field in ntb tool could chop off the end. The maximum buffer size is increased from 256 to 15 times the number or scratchpads. Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Acked-by: Allen Hubbe <Allen.Hubbe@emc.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ntb/ntb_transport.c')
0 files changed, 0 insertions, 0 deletions