diff options
| author | Axel Lin <[email protected]> | 2016-10-21 01:09:08 +0000 |
|---|---|---|
| committer | MyungJoo Ham <[email protected]> | 2016-11-17 02:31:28 +0000 |
| commit | f8dbe363ba01de9bebb023f499e7bf9c31f028ab (patch) | |
| tree | 94f8dcfc3751754da2bcc4d18630f752543ff799 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | PM / devfreq: exynos-ppmu: Fix module autoload (diff) | |
| download | kernel-f8dbe363ba01de9bebb023f499e7bf9c31f028ab.tar.gz kernel-f8dbe363ba01de9bebb023f499e7bf9c31f028ab.zip | |
PM / devfreq: exynos-ppmu: ppmu_events array should not be NULL terminated
The rest of the code uses ARRAY_SIZE to count the number of entries in
ppmu_events array. The NULL terminated entry makes ARRAY_SIZE return
off-by-one value.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Chanwoo Choi <[email protected]>
Signed-off-by: MyungJoo Ham <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
