Re: [PATCH] mm/damon: return void from damon_set_schemes()

From: Muchun Song
Date: Sat Sep 17 2022 - 22:40:12 EST




> On Sep 16, 2022, at 23:20, xiakaixu1987@xxxxxxxxx wrote:
>
> From: Kaixu Xia <kaixuxia@xxxxxxxxxxx>
>
> There is no point in returning an int from damon_set_schemes().
> It always returns 0 which is meaningless for the caller, so
> change it to return void directly.
>
> Signed-off-by: Kaixu Xia <kaixuxia@xxxxxxxxxxx>

Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

Thanks.