drm/radeon: Remove __counted_by from StateArray.states[]
authorjsg <jsg@openbsd.org>
Thu, 15 Aug 2024 03:24:29 +0000 (03:24 +0000)
committerjsg <jsg@openbsd.org>
Thu, 15 Aug 2024 03:24:29 +0000 (03:24 +0000)
From Bill Wendling
ea12dbf570ef1cbbf857dfa80fbdd66cc0e4612b in linux-6.6.y/6.6.46
2bac084468847cfe5bbc7166082b2a208514bb1c in mainline linux

sys/dev/pci/drm/radeon/pptable.h

index 844f049..ce88329 100644 (file)
@@ -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;