aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2019-10-13 21:21:06 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2019-10-13 21:21:37 +1100
commitbbc6089cebfc46c79a510924c0b080529231a015 (patch)
treea12c4163f7bd2ad9c65d737484441a73fc1a726a /tools/testing
parentpowerpc/powernv: Add queue mechanism for early messages (diff)
parentspufs: fix a crash in spufs_create_root() (diff)
downloadlinux-dev-bbc6089cebfc46c79a510924c0b080529231a015.tar.xz
linux-dev-bbc6089cebfc46c79a510924c0b080529231a015.zip
Merge branch 'fixes' into next
Merge our fixes branch, to bring in the fixes for the KVM PCR bug and the spufs crash.
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/selftests/powerpc/mm/tlbie_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/mm/tlbie_test.c b/tools/testing/selftests/powerpc/mm/tlbie_test.c
index 9868a5ddd847..f85a0938ab25 100644
--- a/tools/testing/selftests/powerpc/mm/tlbie_test.c
+++ b/tools/testing/selftests/powerpc/mm/tlbie_test.c
@@ -636,7 +636,7 @@ int main(int argc, char *argv[])
nrthreads = strtoul(optarg, NULL, 10);
break;
case 'l':
- strncpy(logdir, optarg, LOGDIR_NAME_SIZE);
+ strncpy(logdir, optarg, LOGDIR_NAME_SIZE - 1);
break;
case 't':
run_time = strtoul(optarg, NULL, 10);