aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests
diff options
context:
space:
mode:
authorpiaojun <[email protected]>2018-08-03 17:22:20 +0800
committerDominique Martinet <[email protected]>2018-08-13 09:34:58 +0900
commitedcd9d977354304cb85aee61c2b96809edce41ed (patch)
tree6e389a241468352500b8e5f1de9a46ed21903f34 /tools/testing/selftests/bpf/prog_tests
parent23cba9cbde0bba05d772b335fe5f66aa82b9ad19 (diff)
net/9p/trans_virtio.c: add null terminal for mount tag
chan->tag is Non-null terminated which will result in printing messy code when debugging code. So we should add '\0' for tag to make the code more convenient and robust. In addition, I drop char->tag_len to simplify the code. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jun Piao <[email protected]> Signed-off-by: Dominique Martinet <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions