diff options
| author | Souptick Joarder <[email protected]> | 2021-02-23 00:55:31 +0530 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-02-24 09:28:55 -0500 |
| commit | eb0709ba077a21ea921a6aa7f5332aad2492727b (patch) | |
| tree | e416b7334ec2099f26aaa151f5d7cbf86cafba5b /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | b2576c3bf4ce9b992e1c1fbb1cffe0d606702621 (diff) | |
drm/amdgpu/display: initialize the variable 'i'
>> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:9804:38:
>> warning: variable 'i' is uninitialized when used here
>> [-Wuninitialized]
timing = &edid->detailed_timings[i];
^
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:9714:7:
note: initialize the variable 'i' to silence this warning
int i;
^
= 0
1 warning generated.
Initialize the variable 'i'.
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Souptick Joarder <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions