linux/drivers/gpu/drm/amd/display/modules/hdcp
Jiapeng Chong b72585f1c2 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 <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9405
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-06-27 17:10:39 -04:00
..
Makefile drm/amd/display: Add execution and transition states for HDCP2.2 2019-11-19 10:12:53 -05:00
hdcp.c drm/amd/display: revert Exit idle optimizations before HDCP execution 2024-03-20 13:36:29 -04:00
hdcp.h drm-misc-next for 5.19: 2022-04-29 11:33:00 +10:00
hdcp1_execution.c drm/amd/display: Remove a redundant check in authenticated_dp 2024-06-27 17:10:38 -04:00
hdcp1_transition.c drm/amd/display: add authentication_complete in hdcp output 2021-08-09 15:43:33 -04:00
hdcp2_execution.c drm/amd/display: Fix compiler warnings on high compiler warning levels 2024-04-09 22:05:04 -04:00
hdcp2_transition.c drm/amd/display: Fix monitor flash issue 2022-06-14 21:38:40 -04:00
hdcp_ddc.c drm/amd/display: Use ARRAY_SIZE for array length 2024-06-27 17:10:39 -04:00
hdcp_log.c drm/amd/display: add authentication_complete in hdcp output 2021-08-09 15:43:33 -04:00
hdcp_log.h drm/amd/display: Fix hdcp_log.h codestyle 2024-01-05 16:10:44 -05:00
hdcp_psp.c drm/amd/display: Remove duplicate null check 2024-06-27 17:10:38 -04:00
hdcp_psp.h drm/amd/display: Fix hdcp_psp.h codestyle 2024-01-05 16:10:44 -05:00