linux/drivers/acpi/numa
Yuntao Wang 00601d3f29 ACPI: NUMA: Fix the logic of getting the fake_pxm value
[ Upstream commit e3f577830c ]

The for loop does not iterate over the last element of the node_to_pxm_map
array. This could lead to a conflict between the final fake_pxm value and
the existing pxm values. That is, the final fake_pxm value can not be
guaranteed to be an unused pxm value.

While at it, fix up white space in slit_valid().

Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2024-02-05 20:16:46 +00:00
..
hmat.c acpi, hmat: calculate abstract distance with HMAT 2023-10-16 15:44:39 -07:00
Kconfig arch: Remove Itanium (IA-64) architecture 2023-09-11 08:13:17 +00:00
Makefile ACPI: NUMA: Establish a new drivers/acpi/numa/ directory 2019-11-07 15:43:38 +01:00
srat.c ACPI: NUMA: Fix the logic of getting the fake_pxm value 2024-02-05 20:16:46 +00:00