The patch titled Subject: mm/damon: fix error return code in damon_reclaim_turn() has been removed from the -mm tree. Its filename was mm-damon-introduce-damon-based-reclamation-damon_reclaim-fix.patch This patch was dropped because it was folded into mm-damon-introduce-damon-based-reclamation-damon_reclaim.patch ------------------------------------------------------ From: Yang Yingliang <yangyingliang@xxxxxxxxxx> Subject: mm/damon: fix error return code in damon_reclaim_turn() If damon_reclaim_new_scheme() fails, it should return error code in damon_reclaim_turn() Link: https://lkml.kernel.org/r/20211025124500.2758060-1-yangyingliang@xxxxxxxxxx Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> Reviewed-by: SeongJae Park <sj@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/damon/reclaim.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/mm/damon/reclaim.c~mm-damon-introduce-damon-based-reclamation-damon_reclaim-fix +++ a/mm/damon/reclaim.c @@ -292,8 +292,10 @@ static int damon_reclaim_turn(bool on) /* Will be freed by 'damon_set_schemes()' below */ scheme = damon_reclaim_new_scheme(); - if (!scheme) + if (!scheme) { + err = -ENOMEM; goto free_region_out; + } err = damon_set_schemes(ctx, &scheme, 1); if (err) goto free_scheme_out; _ Patches currently in -mm which might be from yangyingliang@xxxxxxxxxx are mm-damon-introduce-damon-based-reclamation-damon_reclaim.patch