smbios: fix flexible array at end of smbios_table_log struct

The descriptor member of the smbios_table_log struct should
really be a zero-length array, not a flexible array.

BUG=chromium:475959
BRANCH=none
TEST=compiled mosys for peppy using clang, tested that
"mosys eventlog list" and "mosys smbios info log" commands
still work.

Signed-off-by: David Hendricks <dhendrix@chromium.org>
Change-Id: Ic8623667767bc4a2e1dbbfde42ec866c26f77acd
Reviewed-on: https://chromium-review.googlesource.com/269796
Reviewed-by: Shawn N <shawnn@chromium.org>
diff --git a/include/lib/smbios_tables.h b/include/lib/smbios_tables.h
index 12202c0..64565d8 100644
--- a/include/lib/smbios_tables.h
+++ b/include/lib/smbios_tables.h
@@ -110,7 +110,7 @@
 	uint8_t header_format;
 	uint8_t descriptor_num;
 	uint8_t descriptor_len;
-	uint8_t descriptor[];
+	uint8_t descriptor[0];	/* variable length data */
 } __attribute__ ((packed));
 
 /* Event log Type 1 header */