author: SeongJae Park <sj@kernel.org> 2021-10-28 14:36:33 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-10-28 17:18:55 -0700
commit: 2e014660b3e4b7bd0e75f845cdcf745c0f632889
parent: a4aeaa06d45e90f9b279f0b09de84bd00006e733
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/mm/damon/core-test.h b/mm/damon/core-test.h
index c938a9c34e6c..7008c3735e99 100644
--- a/mm/damon/core-test.h
+++ b/mm/damon/core-test.h
@@ -219,14 +219,14 @@ static void damon_test_split_regions_of(struct kunit *test)
r = damon_new_region(0, 22);
damon_add_region(r, t);
damon_split_regions_of(c, t, 2);
- KUNIT_EXPECT_EQ(test, damon_nr_regions(t), 2u);
+ KUNIT_EXPECT_LE(test, damon_nr_regions(t), 2u);
damon_free_target(t);
t = damon_new_target(42);
r = damon_new_region(0, 220);
damon_add_region(r, t);
damon_split_regions_of(c, t, 4);
- KUNIT_EXPECT_EQ(test, damon_nr_regions(t), 4u);
+ KUNIT_EXPECT_LE(test, damon_nr_regions(t), 4u);
damon_free_target(t);
damon_destroy_ctx(c);
}