diff options
author | Dan Carpenter <[email protected]> | 2022-08-01 13:19:27 +0300 |
---|---|---|
committer | Dan Williams <[email protected]> | 2022-08-01 12:12:33 -0700 |
commit | 88ab1dde792aa6a3902e2a30929e00acc99d351a (patch) | |
tree | 3f7d6df16e2ad66a222cb15da3e89a00dbd8524c /drivers/fpga/fpga-mgr.c | |
parent | 452e21cf3438aca19b678d1f182d7d6525648956 (diff) |
cxl/region: uninitialized variable in alloc_hpa()
This should check "p->res" instead of "res" (which is uninitialized).
Fixes: 23a22cd1c98b ("cxl/region: Allocate HPA capacity to regions")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/Yueor88I/DkVSOtL@kili
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions