On Mon, Nov 06, 2023 at 05:07:40PM +0300, Dan Carpenter wrote: > The "err" variable is not initialized if damon_target_has_pid(ctx) is > false and sys_target->regions->nr is zero. > > Fixes: 0bcd216c4741 ("mm/damon/sysfs: update monitoring target regions for online input commit") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Should this be a void function instead as the caller is not checking the return value. regards, deepak. > >