projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aaaca3
)
drm/radeon: Remove __counted_by from ClockInfoArray.clockInfo[]
author
Alex Deucher
<alexander.deucher@amd.com>
Mon, 30 Jun 2025 14:47:09 +0000
(10:47 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 5 Jan 2026 21:27:53 +0000
(16:27 -0500)
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: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/pptable.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/pptable.h
b/drivers/gpu/drm/radeon/pptable.h
index
969a8fb
..
f4e7104
100644
(file)
--- a/
drivers/gpu/drm/radeon/pptable.h
+++ b/
drivers/gpu/drm/radeon/pptable.h
@@
-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{