diff options
| author | SJ Park <sj@kernel.org> | 2026-07-05 08:55:58 -0700 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-07-30 19:40:48 -0700 |
| commit | c31ad3c6dad30d932cd906e384efd000db06233a (patch) | |
| tree | e019a28e5f68d7bbc249b832344addf655811b54 /tools/lib/python/kdoc/parse_data_structs.py | |
| parent | f2be66be3ac8bdd3beafe68cb8935d47d42b5d64 (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 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
