diff options
author | SeongJae Park <sj@kernel.org> | 2023-07-29 23:37:33 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-21 23:37:33 +0300 |
commit | 2a158e956b98e0c5f37b5ce9953048654348ad6b (patch) | |
tree | 7d215c4cf0dfa47761882e4f626b0e894e8319af /mm/memcontrol.c | |
parent | ca39c5e7d10f09983293f064caa447690cb3ec92 (diff) | |
download | linux-2a158e956b98e0c5f37b5ce9953048654348ad6b.tar.xz |
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>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions