coreboot/src
zbao ee8a9f6c55 Initializer of a static member in union.
It is just me or does anybody have the same build error without
this patch?
------
src/arch/x86/boot/acpigen.c: In function 'acpigen_write_empty_PTC':
src/arch/x86/boot/acpigen.c:347:3: error: unknown field 'resv'
specified in initializer
src/arch/x86/boot/acpigen.c:347:3: warning: missing braces around
 initializer
src/arch/x86/boot/acpigen.c:347:3⚠️ (near initialization
 for 'addr.<anonymous>')
-------

Anyway, I believe at least this will cause warnings.
"resv" is a member of a union, not of acpi_addr_t. So it should be
wrapped by a brace in the initializer.

Change-Id: I72624386816c987d5bb2d3a3a64c7c58eb9af389
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: zbao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/1056
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Marc Jones <marcj303@gmail.com>
2012-05-30 23:01:23 +02:00
..
arch/x86 Initializer of a static member in union. 2012-05-30 23:01:23 +02:00
boot Hook up MRC cache update 2012-05-11 00:30:03 +02:00
console Implement %zu / %zd in printk 2012-05-26 07:16:40 +02:00
cpu Fix the location of "Setting variable MTRR" printk. 2012-05-30 08:32:38 +02:00
devices Clean up #ifs 2012-05-08 00:34:34 +02:00
drivers Fix compilation with CONFIG_DEBUG_SPI_FLASH enabled 2012-05-29 11:29:54 +02:00
ec Add EC component for SMSC MEC1308/1310 2012-04-02 18:42:40 +02:00
include Add support for Panther Point to SPI driver 2012-05-30 00:53:11 +02:00
lib Don't loop infinitely long on serial comm failures 2012-05-08 04:34:26 +02:00
mainboard Enable USE_OPTION_TABLE for ThinkPad X60 2012-05-28 21:14:20 +02:00
northbridge Sandybridge: Remove remnants of FDT support from MRC cache code 2012-05-29 11:27:42 +02:00
southbridge Provide functions to access arbitrary GPIO pins and vectors 2012-05-30 00:53:19 +02:00
superio Unmark source files as executables 2012-05-10 08:44:08 +02:00
vendorcode ChromeOS: Remove remnants of FDT support 2012-05-29 11:28:43 +02:00
Kconfig Converted the FRAMEBUFFER_VESA_MODE to a choice. 2012-05-24 21:54:08 +02:00
Kconfig.deprecated_options Unify ID_SECTION_OFFSET and mark it deprecated 2012-01-18 11:21:39 +01:00