summaryrefslogtreecommitdiff
path: root/mm/zbud.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2023-11-06 17:07:40 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-11-15 15:30:08 -0800
commit85c2ceaafbd306814a3a4740bf4d95ac26a8b36a (patch)
tree4beb3f35e901305b5b5ba1048d59e094a5623af9 /mm/zbud.c
parentb85ea95d086471afb4ad062012a4d73cd328fa86 (diff)
mm/damon/sysfs: eliminate potential uninitialized variable warning
The "err" variable is not initialized if damon_target_has_pid(ctx) is false and sys_target->regions->nr is zero. Link: https://lkml.kernel.org/r/739e6aaf-a634-4e33-98a8-16546379ec9f@moroto.mountain Fixes: 0bcd216c4741 ("mm/damon/sysfs: update monitoring target regions for online input commit") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: SeongJae Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/zbud.c')
0 files changed, 0 insertions, 0 deletions