Message ID | 20191017080505.8348-6-sandipan@linux.ibm.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | [stable,4.14,1/6] powerpc/mm: Fixup tlbie vs store ordering issue on POWER9 | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | warning | Failed to apply on branch next (600802af9049be799465b24d14162918545634bf) |
snowpatch_ozlabs/apply_patch | warning | Failed to apply on branch merge (67371877b0f929be48b2ad127800e7bc81c8a82f) |
snowpatch_ozlabs/apply_patch | warning | Failed to apply on branch linus (bc88f85c6c09306bd21917e1ae28205e9cd775a7) |
snowpatch_ozlabs/apply_patch | fail | Failed to apply to any branch |
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);