Skip to content
Commit 88ab1dde authored by Dan Carpenter's avatar Dan Carpenter Committed by Dan Williams
Browse files

cxl/region: uninitialized variable in alloc_hpa()



This should check "p->res" instead of "res" (which is uninitialized).

Fixes: 23a22cd1 ("cxl/region: Allocate HPA capacity to regions")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/Yueor88I/DkVSOtL@kili


Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 452e21cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment