diff options
author | Aubrey Li <[email protected]> | 2021-10-20 11:23:17 +0800 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2021-10-26 15:29:07 +0200 |
commit | c52ca713279da78881d36b49acd36288a46bbec8 (patch) | |
tree | 0d070b394ab9b9cd6168a4da13ad7758b3538440 /drivers/gpio/gpio-cadence.c | |
parent | caa2bd07f5c5f09acf62072906daeaa667e2b645 (diff) |
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 <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-cadence.c')
0 files changed, 0 insertions, 0 deletions