diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2021-02-23 00:55:31 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-02-24 09:28:55 -0500 |
commit | eb0709ba077a21ea921a6aa7f5332aad2492727b (patch) | |
tree | e416b7334ec2099f26aaa151f5d7cbf86cafba5b /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.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 <lkp@intel.com>
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions