Re: [PATCH 4.19 1/2] selftests/vm: remove call to ksft_set_plan()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/13/24 14:02, Samasth Norway Ananda wrote:
The function definition for ksft_set_plan() is not present in linux-4.19.y.
compaction_test selftest fails to compile because of this.

Fixes: 9a21701edc41 ("selftests/mm: conform test to TAP format output")
Signed-off-by: Samasth Norway Ananda <samasth.norway.ananda@xxxxxxxxxx>
Reviewed-by: Saeed Mirzamohammadi <saeed.mirzamohammadi@xxxxxxxxxx>
---
  tools/testing/selftests/vm/compaction_test.c | 2 --
  1 file changed, 2 deletions(-)

diff --git a/tools/testing/selftests/vm/compaction_test.c b/tools/testing/selftests/vm/compaction_test.c
index e056cfc487e08..e7044fa7f0b70 100644
--- a/tools/testing/selftests/vm/compaction_test.c
+++ b/tools/testing/selftests/vm/compaction_test.c
@@ -183,8 +183,6 @@ int main(int argc, char **argv)
  	if (prereq() != 0)
  		return ksft_exit_pass();
- ksft_set_plan(1);
-
  	lim.rlim_cur = RLIM_INFINITY;
  	lim.rlim_max = RLIM_INFINITY;
  	if (setrlimit(RLIMIT_MEMLOCK, &lim))

Thank for for finding and fixing this.

Acked-by: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx>

thanks,
-- Shuah




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux