From: zhang jiao
If there were no anamolies noted, then we can
simply remove the log file and return.
Signed-off-by: zhang jiao
---
v1->v2:
Remove the path after initialization.
tools/testing/selftests/powerpc/mm/tlbie_test.c | 10 +-
1 file changed, 5 insertions(+), 5 deletio
From: zhang jiao
Path is not initialized before use,
remove the unnecessary remove function.
Signed-off-by: zhang jiao
---
tools/testing/selftests/powerpc/mm/tlbie_test.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/powerpc/mm/tlbie_test.c
b/tools/testing/selftes
From: zhang jiao
There is no va_end after va_copy, just add it.
Signed-off-by: zhang jiao
---
tools/testing/selftests/net/tcp_ao/lib/aolib.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/net/tcp_ao/lib/aolib.h
b/tools/testing/selftests/net/tcp_ao/lib/aolib.h
inde
From: zhang jiao
There is a memory leak in mkdirty, just free src before return.
Signed-off-by: zhang jiao
---
tools/testing/selftests/mm/mkdirty.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/mm/mkdirty.c
b/tools/testing/selftests/mm/mkdirty.c
index 1db134063c3
From: zhang jiao
There is no va_end after va_copy, just add it.
Signed-off-by: zhang jiao
---
tools/testing/selftests/bpf/test_progs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/bpf/test_progs.c
b/tools/testing/selftests/bpf/test_progs.c
index c7a70e1a1085..78
From: zhang jiao
Nolibc gained an implementation of strerror() recently.
Use it and drop the ifndef.
Signed-off-by: zhang jiao
---
tools/testing/selftests/kselftest.h | 8
1 file changed, 8 deletions(-)
diff --git a/tools/testing/selftests/kselftest.h
b/tools/testing/selftests/kself
From: zhang jiao
By readind the code, I found the macro NSEC_PER_SEC
is never referenced in the code. Just remove it.
Signed-off-by: zhang jiao
---
v1->v2:
Put together files with similar problems
tools/testing/selftests/timers/change_skew.c | 3 ---
tools/testing/selftests/timer
From: zhang jiao
By readind the code, I found there is no free() after asprintf().
Just free it.
Signed-off-by: zhang jiao
---
v2->v3:
Use a bool flag to determine if test_name needs free.
tools/testing/selftests/futex/functional/futex_requeue_pi.c | 5 +
1 file changed, 5 inserti
From: zhang jiao
This macro NSEC_PER_SEC is never referenced in the code.
Just remove it.
Signed-off-by: zhang jiao
---
tools/testing/selftests/timers/change_skew.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/tools/testing/selftests/timers/change_skew.c
b/tools/testing/selftests/tim
From: zhang jiao
This macro NSEC_PER_SEC is never referenced in the code.
Just remove it.
Signed-off-by: zhang jiao
---
tools/testing/selftests/timers/skew_consistency.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/testing/selftests/timers/skew_consistency.c
b/tools/testing/self
From: zhang jiao
By readind the code, I found there is no free() after asprintf().
Just free it.
Signed-off-by: zhang jiao
---
v1->v2:
Set a flag to determine if test_name needs free.
tools/testing/selftests/futex/functional/futex_requeue_pi.c | 4
1 file changed, 4 inser
From: zhang jiao
Free string allocated by asprintf().
Signed-off-by: zhang jiao
---
tools/testing/selftests/futex/functional/futex_requeue_pi.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tools/testing/selftests/futex/functional/futex_requeue_pi.c
b/tools/testing/selftests/futex/fu
12 matches
Mail list logo