Add extra element to array for bounds checking

Decrement padding to keep struct size the same

Change-Id: I4bea5d4b4d5c908423c7cc55a7e8c404b4a6b5e8
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 85e37bb6ce]
Этот коммит содержится в:
Galantsev, Dmitrii
2025-09-03 23:14:56 -05:00
коммит произвёл Galantsev, Dmitrii
родитель 6797de3ed5
Коммит 7bbfc98588
+2 -2
Просмотреть файл
@@ -2092,8 +2092,8 @@ typedef struct {
*/
typedef struct {
uint32_t count;
amdsmi_processor_handle processor_list[AMDSMI_MAX_DEVICES];
uint64_t reserved[15];
amdsmi_processor_handle processor_list[AMDSMI_MAX_DEVICES+1];
uint64_t reserved[14];
} amdsmi_topology_nearest_t;
/**