From 2d54cdb71446593a72246e73f07a46b0f38b34bf Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sun, 15 Nov 2020 13:27:00 +1100 Subject: [PATCH] [core] be explicit about the device-db end of array init --- src/device-db.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/device-db.h b/src/device-db.h index 80697ec..cf23e47 100644 --- a/src/device-db.h +++ b/src/device-db.h @@ -111,5 +111,7 @@ static struct vendor_reset_cfg vendor_reset_devices[] = { _AMD_NAVI10(&amd_navi10_ops), _AMD_NAVI14(&amd_navi10_ops), _AMD_NAVI12(&amd_navi10_ops), - {0}, + + /* end of array guard */ + {.vendor = 0} };