diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2025-03-18 10:19:46 +0300 |
---|---|---|
committer | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2025-04-07 09:28:01 +0300 |
commit | 06eaa824fd239edd1eab2754f29b2d03da313003 (patch) | |
tree | bebed8efc81ed2f644bb7ef84011ed41226d98a3 /lib/mpi/mpi-sub-ui.c | |
parent | ed471e1984939a500eea179bc16e1c2aadf00db5 (diff) | |
download | linux-06eaa824fd239edd1eab2754f29b2d03da313003.tar.xz |
mm/memblock: pass size instead of end to memblock_set_node()
The second parameter of memblock_set_node() is size instead of end.
Since it iterates from lower address to higher address, finally the node
id is correct. But during the process, some of them are wrong.
Pass size instead of end.
Fixes: 61167ad5fecd ("mm: pass nid to reserve_bootmem_region()")
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
CC: Mike Rapoport <rppt@kernel.org>
CC: Yajun Deng <yajun.deng@linux.dev>
CC: stable@vger.kernel.org
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20250318071948.23854-2-richard.weiyang@gmail.com
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions