diff options
| author | Dan Carpenter <[email protected]> | 2023-11-06 17:07:40 +0300 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-11-15 15:30:08 -0800 |
| commit | 85c2ceaafbd306814a3a4740bf4d95ac26a8b36a (patch) | |
| tree | 4beb3f35e901305b5b5ba1048d59e094a5623af9 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
| parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (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/[email protected]
Fixes: 0bcd216c4741 ("mm/damon/sysfs: update monitoring target regions for online input commit")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: SeongJae Park <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions