aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorAubrey Li <aubrey.li@intel.com>2021-10-20 11:23:17 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-26 15:29:07 +0200
commitc52ca713279da78881d36b49acd36288a46bbec8 (patch)
tree0d070b394ab9b9cd6168a4da13ad7758b3538440 /drivers/fpga/fpga-mgr.c
parentACPI: PRM: Remove unnecessary blank lines (diff)
downloadlinux-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