Commit 7633b7a0 authored by Yuntao Wang's avatar Yuntao Wang Committed by Greg Kroah-Hartman
Browse files

ACPI: NUMA: Fix the logic of getting the fake_pxm value



[ Upstream commit e3f57783 ]

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: default avatarYuntao Wang <ytcoode@gmail.com>
[ rjw: Changelog edits ]
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 33650372
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment