diff options
| author | Aubrey Li <[email protected]> | 2021-10-20 03:23:17 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2021-10-26 13:29:07 +0000 |
| commit | c52ca713279da78881d36b49acd36288a46bbec8 (patch) | |
| tree | 0d070b394ab9b9cd6168a4da13ad7758b3538440 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | ACPI: PRM: Remove unnecessary blank lines (diff) | |
| download | kernel-c52ca713279da78881d36b49acd36288a46bbec8.tar.gz kernel-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 <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions
