summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSJ Park <sj@kernel.org>2026-07-05 08:55:58 -0700
committerAndrew Morton <akpm@linux-foundation.org>2026-07-30 19:40:48 -0700
commitc31ad3c6dad30d932cd906e384efd000db06233a (patch)
treee019a28e5f68d7bbc249b832344addf655811b54 /scripts
parentf2be66be3ac8bdd3beafe68cb8935d47d42b5d64 (diff)
mm/damon/core: remove start, end check in damon_set_region_system_rams()
damon_set_region_system_rams() validates user inputs to avoid creating a negative size region. But DAMON core avoids zero size, too. The check is incomplete. The complete check is done inside damon_set_regions(), which is eventually called from damon_set_region_system_rams_default(). Drop the incomplete and unnecessary check. Link: https://lore.kernel.org/20260705155600.96555-8-sj@kernel.org Signed-off-by: SJ Park <sj@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions