mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
ff2bd9ff11
The sev_pin_memory() function was modified to return error pointers
instead of NULL but there are two problems. The first problem is that
if "npages" is zero then it still returns NULL. Secondly, several of
the callers were not updated to check for error pointers instead of
NULL.
Either one of these issues will lead to an Oops.
Fixes:
|
||
---|---|---|
.. | ||
avic.c | ||
nested.c | ||
pmu.c | ||
sev.c | ||
svm.c | ||
svm.h | ||
vmenter.S |