From 0311f81dd33ddcbcc5d04e01c6b1aeb55f4208bf Mon Sep 17 00:00:00 2001 From: jsg Date: Thu, 15 Aug 2024 03:24:29 +0000 Subject: [PATCH] drm/radeon: Remove __counted_by from StateArray.states[] From Bill Wendling ea12dbf570ef1cbbf857dfa80fbdd66cc0e4612b in linux-6.6.y/6.6.46 2bac084468847cfe5bbc7166082b2a208514bb1c in mainline linux --- sys/dev/pci/drm/radeon/pptable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1