Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'memblock-v6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock

Pull memblock update from Mike Rapoport:
"Code readability improvement.

Use NUMA_NO_NODE instead of -1 as return value of
memblock_search_pfn_nid() to improve code readability
and consistency with the callers of that function"

* tag 'memblock-v6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock:
memblock: Return NUMA_NO_NODE instead of -1 to improve code readability

+1 -1
+1 -1
mm/memblock.c
··· 1885 1885 int mid = memblock_search(type, PFN_PHYS(pfn)); 1886 1886 1887 1887 if (mid == -1) 1888 - return -1; 1888 + return NUMA_NO_NODE; 1889 1889 1890 1890 *start_pfn = PFN_DOWN(type->regions[mid].base); 1891 1891 *end_pfn = PFN_DOWN(type->regions[mid].base + type->regions[mid].size);