diff options
| author | Xiang Liu <xiang.liu@amd.com> | 2025-02-24 16:10:24 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-02-25 19:45:12 +0300 |
| commit | ce615fe328450b761eeb71c046072aeca3099f3d (patch) | |
| tree | 8f86bf31a707496c92c4344909a682652f8e2482 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c | |
| parent | 700e535db4ccd5ae0c0514f7d9a5fd9c98eb3855 (diff) | |
| download | linux-ce615fe328450b761eeb71c046072aeca3099f3d.tar.xz | |
drm/amdgpu: Check if CPER enabled when generating CPER
In the case of CPER disabled, generating CPER will cause kernel NULL
pointer dereference without checking.
Signed-off-by: Xiang Liu <xiang.liu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c')
0 files changed, 0 insertions, 0 deletions
