drm/amd/pm: powerplay: Add `__counted_by` attribute for flexible arrays
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 14 Jun 2024 17:05:51 +0000 (12:05 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Jun 2024 16:52:25 +0000 (12:52 -0400)
commit0ca9f757a0e27a076395ec1b2002661bcf5c25e8
tree8e70a22f228a0c0ad24189111e418e3c2c6fd25d
parenta4fcb5f7337597c10cab7cefde41e379fcbc6919
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>
drivers/gpu/drm/amd/pm/powerplay/hwmgr/pptable_v1_0.h
drivers/gpu/drm/amd/pm/powerplay/inc/hwmgr.h
This page took 0.059296 seconds and 4 git commands to generate.