summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorYuntao Wang <ytcoode@gmail.com>2023-12-07 16:10:01 +0300
committerMike Rapoport (IBM) <rppt@kernel.org>2023-12-08 11:31:00 +0300
commit2159bd4e905704b1765b6b883ea15e51ad986a6a (patch)
treea61f270a53d2266304fc0ff7baa105d6fdff98fe /scripts/gdb/linux/tasks.py
parent33cc938e65a98f1d29d0a18403dbbee050dcad9a (diff)
downloadlinux-2159bd4e905704b1765b6b883ea15e51ad986a6a.tar.xz
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 <ytcoode@gmail.com> Link: https://lore.kernel.org/r/20231207131001.224914-1-ytcoode@gmail.com Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions