commit | 2a158e956b98e0c5f37b5ce9953048654348ad6b | [log] [tgz] |
---|---|---|
author | SeongJae Park <sj@kernel.org> | Sat Jul 29 20:37:33 2023 +0000 |
committer | Andrew Morton <akpm@linux-foundation.org> | Mon Aug 21 13:37:33 2023 -0700 |
tree | 7d215c4cf0dfa47761882e4f626b0e894e8319af | |
parent | ca39c5e7d10f09983293f064caa447690cb3ec92 [diff] |
mm/damon/core-test: add a test for damos_new_filter() damos_new_filter() was having a bug that not initializing ->list field of the returning damos_filter struct, which results in access to uninitialized memory. Add a unit test for the function. Link: https://lkml.kernel.org/r/20230729203733.38949-3-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>