diff options
| author | YiPeng Chai <[email protected]> | 2024-03-22 04:06:01 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-04-26 21:22:41 +0000 |
| commit | e74313be5a71df63e307ad98b6ab202b8a222817 (patch) | |
| tree | 591d702bd77608d20ecef578938f24b2bbe000cf /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | |
| parent | drm/amdgpu: Add delay work to retire bad pages (diff) | |
| download | kernel-e74313be5a71df63e307ad98b6ab202b8a222817.tar.gz kernel-e74313be5a71df63e307ad98b6ab202b8a222817.zip | |
drm/amdgpu: add condition check for amdgpu_umc_fill_error_record
Add condition check for amdgpu_umc_fill_error_record.
Signed-off-by: YiPeng Chai <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h index cb5a0f31d201..c8980d5f6540 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h @@ -579,6 +579,7 @@ struct ras_err_data { unsigned long de_count; unsigned long err_addr_cnt; struct eeprom_table_record *err_addr; + unsigned long err_addr_len; u32 err_list_count; struct list_head err_node_list; }; |
