summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2019-01-09 12:22:26 -0700
committerJon Mason <jdmason@kudzu.us>2020-06-05 20:02:08 -0400
commit912e12813dd03c602e4922fc34709ec4d4380cf0 (patch)
tree759108b04858fe4ff9289f46d88c943898696ca4 /virt
parent9cb8bfdf5262b14d29617d1595b79e1f360135ab (diff)
downloadlinux-912e12813dd03c602e4922fc34709ec4d4380cf0.tar.bz2
NTB: ntb_tool: reading the link file should not end in a NULL byte
When running ntb_test this warning is issued: ./ntb_test.sh: line 200: warning: command substitution: ignored null byte in input This is caused by the kernel returning one more byte than is necessary when reading the link file. Reduce the number of bytes read back to 2 as it was before the commit that regressed this. Fixes: 7f46c8b3a552 ("NTB: ntb_tool: Add full multi-port NTB API support") Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Acked-by: Allen Hubbe <allenbh@gmail.com> Tested-by: Alexander Fomichev <fomichev.ru@gmail.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions