]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Use ARRAY_SIZE to get array length
authoryipechai <YiPeng.Chai@amd.com>
Thu, 13 Jan 2022 03:01:17 +0000 (11:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jan 2022 22:52:26 +0000 (17:52 -0500)
commit53f95c25452b0fb999f31881bb5b48c3b935e906
treed632e9713a75fb9bb50d43302c4a6ecde99958dc
parent27e26cccd178651a2c21a42b847fa02878286187
drm/amdgpu: Use ARRAY_SIZE to get array length

Use ARRAY_SIZE to get array length.

Signed-off-by: yipechai <YiPeng.Chai@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c