summaryrefslogtreecommitdiff
path: root/Documentation/gpu/intel-display/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorSeongJae Park <sj@kernel.org>2026-05-22 08:40:13 -0700
committerAndrew Morton <akpm@linux-foundation.org>2026-06-04 14:45:00 -0700
commitb23dbda659b645482e3234ad10773d991a288e2f (patch)
treec8f5bfedbd97d9f0e9a65dd7c95d0460454685f3 /Documentation/gpu/intel-display/git@git.tavy.me:linux.git
parentce71e5aa8dc83e703a5301644cef57dfc3caaf44 (diff)
mm/damon/core: do not use region out of a loop in damon_set_regions()
damon_set_regions() assumes the DAMON region iterator is referencing the last region after the region iteration loop is completed. The code is indeed implemented in the way, but that is not a documented safe behavior. Hence it is unreliable and difficult to read. Cleanup the code to avoid the case. No behavioral change is intended. Link: https://lore.kernel.org/20260522154026.80546-3-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Brendan Higgins <brendan.higgins@linux.dev> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation/gpu/intel-display/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions