Files
linux/drivers/gpu/drm
Tom Rix 8651fcb987 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-04 17:38:05 -04:00
..
2021-05-04 17:38:05 -04:00
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-03-23 10:32:14 +01:00
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-03-19 10:40:54 +01:00
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-03-25 08:23:28 -03:00
2021-03-24 17:05:14 +01:00
2021-04-13 23:15:09 +02:00
2021-04-09 16:42:09 -04:00
2021-01-04 12:59:33 +01:00
2020-09-21 10:45:08 +02:00
2020-08-11 11:58:31 +10:00
2021-03-18 14:22:50 +01:00
2021-03-23 23:25:21 -04:00