diff options
author | 2021-10-20 11:23:17 +0800 | |
---|---|---|
committer | 2021-10-26 15:29:07 +0200 | |
commit | c52ca713279da78881d36b49acd36288a46bbec8 (patch) | |
tree | 0d070b394ab9b9cd6168a4da13ad7758b3538440 /drivers/fpga/fpga-mgr.c | |
parent | ACPI: PRM: Remove unnecessary blank lines (diff) | |
download | linux-dev-c52ca713279da78881d36b49acd36288a46bbec8.tar.xz linux-dev-c52ca713279da78881d36b49acd36288a46bbec8.zip |
ACPI: PRM: Handle memory allocation and memory remap failure
Handle memory allocation and memory remap failure in acpi_parse_prmt()
when system runs out of memory to avoid the potential NULL pointer
dereference errors.
Signed-off-by: Aubrey Li <aubrey.li@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions