summaryrefslogtreecommitdiff
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2023-07-29 23:37:33 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-08-21 23:37:33 +0300
commit2a158e956b98e0c5f37b5ce9953048654348ad6b (patch)
tree7d215c4cf0dfa47761882e4f626b0e894e8319af /mm/memcontrol.c
parentca39c5e7d10f09983293f064caa447690cb3ec92 (diff)
downloadlinux-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