041bf02255
There is no limit on high "idx" can go. It should be less than
ARRAY_SIZE(data.states) which is 16.
The "data" variable wasn't declared in that scope so I shifted the code
around a bit to make it work. Also I made "idx" unsigned.
Fixes:
|
||
---|---|---|
.. | ||
acp | ||
amdgpu | ||
amdkfd | ||
include | ||
powerplay | ||
scheduler |