Commit dc135aa7 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon: Remove __counted_by from ClockInfoArray.clockInfo[]

clockInfo[] is a generic uchar pointer to variable sized structures
which vary from ASIC to ASIC.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4374


Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7aaaca3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -450,7 +450,7 @@ typedef struct _ClockInfoArray{
    //sizeof(ATOM_PPLIB_CLOCK_INFO)
    UCHAR ucEntrySize;
    
    UCHAR clockInfo[] __counted_by(ucNumEntries);
    UCHAR clockInfo[] /*__counted_by(ucNumEntries)*/;
}ClockInfoArray;

typedef struct _NonClockInfoArray{