From: jsg Date: Thu, 15 Aug 2024 03:24:29 +0000 (+0000) Subject: drm/radeon: Remove __counted_by from StateArray.states[] X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0311f81dd33ddcbcc5d04e01c6b1aeb55f4208bf;p=openbsd drm/radeon: Remove __counted_by from StateArray.states[] From Bill Wendling ea12dbf570ef1cbbf857dfa80fbdd66cc0e4612b in linux-6.6.y/6.6.46 2bac084468847cfe5bbc7166082b2a208514bb1c in mainline linux --- diff --git a/sys/dev/pci/drm/radeon/pptable.h b/sys/dev/pci/drm/radeon/pptable.h index 844f0490bf3..ce883291670 100644 --- a/sys/dev/pci/drm/radeon/pptable.h +++ b/sys/dev/pci/drm/radeon/pptable.h @@ -439,7 +439,7 @@ typedef struct _StateArray{ //how many states we have UCHAR ucNumEntries; - ATOM_PPLIB_STATE_V2 states[] __counted_by(ucNumEntries); + ATOM_PPLIB_STATE_V2 states[] /* __counted_by(ucNumEntries) */; }StateArray;