> There was a bug [1] in damon_is_last_region(). Add a kunit test to not > reintroduce the bug.
> [1] https://lore.kernel.org/[email protected]/ > Signed-off-by: SeongJae Park <[email protected]> Hi SeongJae, I've been following the previous discussion regarding the bug in damon_is_last_region() where the arguments of list_is_last() were accidentally swapped. I have verified this patch by running the KUnit tests on my arm64 native environment. The damon_test_is_last_region test case passed as expected, confirming that the fix is robust and the regression is effectively prevented. Tested-by: wang lian <[email protected]> Reviewed-by: wang lian <[email protected]> -- Best Regards, wang lian

