drm/amd/pm: powerplay: Add __counted_by attribute for flexible arrays

This attribute is used to hint the length of flexible arrays to
compiler and sanitizers.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Mario Limonciello 2024-06-14 12:05:51 -05:00 • committed by Alex Deucher
commit 0ca9f757a0
2 changed files with 37 additions and 37 deletions