mirror_ubuntu-kernels/drivers/gpu/drm/amd
Tom Rix 2b24c19938 drm/amd/pm: initialize variable
Static analysis reports this problem

amdgpu_pm.c:478:16: warning: The right operand of '<' is a garbage value
  for (i = 0; i < data.nums; i++) {
                ^ ~~~~~~~~~

In some cases data is not set.  Initialize to 0 and flag not setting
data as an error with the existing check.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-05-10 18:06:45 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: drop the GCR packet from the emit_ib frame for sdma5.0 2021-05-10 18:06:45 -04:00
amdkfd drm/amdkfd: fix no atomics settings in the kfd topology 2021-05-10 18:06:45 -04:00
display drm/amd/display: 3.2.134 2021-05-10 18:06:45 -04:00
include drm/amd/pm: Add interface to get FW private buffer 2021-05-10 18:06:45 -04:00
pm drm/amd/pm: initialize variable 2021-05-10 18:06:45 -04:00