diff options
author | Yuntao Wang <[email protected]> | 2023-12-07 21:10:01 +0800 |
---|---|---|
committer | Mike Rapoport (IBM) <[email protected]> | 2023-12-08 10:31:00 +0200 |
commit | 2159bd4e905704b1765b6b883ea15e51ad986a6a (patch) | |
tree | a61f270a53d2266304fc0ff7baa105d6fdff98fe /scripts/gdb/linux/utils.py | |
parent | 33cc938e65a98f1d29d0a18403dbbee050dcad9a (diff) |
memblock: Return NUMA_NO_NODE instead of -1 to improve code readability
When no corresponding memory region is found for the given pfn, return
NUMA_NO_NODE instead of -1. This improves code readability and aligns with
the existing logic of the memblock_search_pfn_nid() function's user.
Signed-off-by: Yuntao Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport (IBM) <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions