The patch titled Subject: selftests: vm: use the right arguments for main() has been removed from the -mm tree. Its filename was selftests-vm-add-tests-for-lock-on-fault-fix-3.patch This patch was dropped because it was folded into selftests-vm-add-tests-for-lock-on-fault.patch ------------------------------------------------------ From: Thierry Reding <treding@xxxxxxxxxx> Subject: selftests: vm: use the right arguments for main() The prototype for the main() function is: int main(int argc, char **argv); but the mlock2-tests test program lists the arguments in the wrong order. It gets away with this because the arguments are never used. Fix it nevertheless to keep recent versions of GCC from complaining. Signed-off-by: Thierry Reding <treding@xxxxxxxxxx> Cc: Shuah Khan <shuahkh@xxxxxxxxxxxxxxx> Cc: Eric B Munson <emunson@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- tools/testing/selftests/vm/mlock2-tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN tools/testing/selftests/vm/mlock2-tests.c~selftests-vm-add-tests-for-lock-on-fault-fix-3 tools/testing/selftests/vm/mlock2-tests.c --- a/tools/testing/selftests/vm/mlock2-tests.c~selftests-vm-add-tests-for-lock-on-fault-fix-3 +++ a/tools/testing/selftests/vm/mlock2-tests.c @@ -643,7 +643,7 @@ static int test_mlockall(int (test_funct return ret; } -int main(char **argv, int argc) +int main(int argc, char **argv) { int ret = 0; ret += test_mlock_lock(); _ Patches currently in -mm which might be from treding@xxxxxxxxxx are userfaultfd-selftest-fix.patch selftests-vm-add-tests-for-lock-on-fault.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html