aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
diff options
context:
space:
mode:
authorJiapeng Chong <[email protected]>2024-06-24 03:11:58 +0000
committerAlex Deucher <[email protected]>2024-06-27 21:10:39 +0000
commitb72585f1c2228630e5fc5bf1b8a1f68cdcd8a446 (patch)
tree9561f50e8b680e3dc51c6ae0ed94f699e54ba288 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
parentdrm/amd/display: Fix Makefile copyright notices (diff)
downloadkernel-b72585f1c2228630e5fc5bf1b8a1f68cdcd8a446.tar.gz
kernel-b72585f1c2228630e5fc5bf1b8a1f68cdcd8a446.zip
drm/amd/display: Use ARRAY_SIZE for array length
Use of macro ARRAY_SIZE to calculate array size minimizes the redundant code and improves code reusability. ./drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c:164:45-46: WARNING: Use ARRAY_SIZE. ./drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c:183:47-48: WARNING: Use ARRAY_SIZE. ./drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c:237:45-46: WARNING: Use ARRAY_SIZE. ./drivers/gpu/drm/amd/display/modules/hdcp/hdcp_ddc.c:257:47-48: WARNING: Use ARRAY_SIZE. Reported-by: Abaci Robot <[email protected]> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9405 Signed-off-by: Jiapeng Chong <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions