Merge tag 'amd-drm-next-6.7-2023-10-13' of https://gitlab.freedesktop.org/agd5f/linux...
[linux-2.6-microblaze.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_discovery.c
index 058d9dc..b6cddca 100644 (file)
@@ -662,7 +662,7 @@ struct ip_hw_instance {
        u8  harvest;
 
        int num_base_addresses;
-       u32 base_addr[];
+       u32 base_addr[] __counted_by(num_base_addresses);
 };
 
 struct ip_hw_id {