coreboot/src
Martin Roth 2b2ff7fa6a soc/intel/broadwell: Init var before use, only use when needed
root_port_init_config() pcie.c wasn't initializing a variable before
passing its pointer to pch_iobp_exec(). pch_iobp_exec() wrote the
uninitialized value into a register.
In theory, the register would only be used if data was being written,
and pch_iobp_exec()  was being used to read the data, not write it, so
this change shouldn't have any practical effect.

Fixes coverity error:
CID 1293134 (#1 of 1): Uninitialized scalar variable (UNINIT)

Change-Id: I5d17863d904c6b1ceb30d72b94cd7a40c8fbb437
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/12778
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@google.com>
2015-12-20 02:41:57 +01:00
..
acpi tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
arch drivers/pc80: Add optional spinlock for nvram CBFS access 2015-12-18 19:47:01 +01:00
commonlib cbfs/vboot: remove firmware component support 2015-12-10 04:43:58 +01:00
console src/console: Add x86 romstage spinlock option and printk spinlock support 2015-12-15 16:41:13 +01:00
cpu drivers/pc80: Add optional spinlock for nvram CBFS access 2015-12-18 19:47:01 +01:00
device x86emu: Remove XFree86 CVS tags 2015-11-20 20:43:54 +01:00
drivers drivers/pc80: Add optional spinlock for nvram CBFS access 2015-12-18 19:47:01 +01:00
ec ec/quanta/ene_kb3940q: Fix ACPI Notice 2015-11-24 22:40:12 +01:00
include lib: Fix strncmp 2015-12-16 01:14:22 +01:00
lib lib: remove assets infrastructure 2015-12-10 04:44:09 +01:00
mainboard mainboard/asus/kgpe-d16: Enable CBFS spinlocks 2015-12-18 19:48:52 +01:00
northbridge southbridge/amd/sr5650: Add MCFG ACPI table support 2015-12-18 19:51:44 +01:00
soc soc/intel/broadwell: Init var before use, only use when needed 2015-12-20 02:41:57 +01:00
southbridge southbridge/amd/sr5650: Add MCFG ACPI table support 2015-12-18 19:51:44 +01:00
superio superio/smsc/mec1308: Fix IASL warnings 2015-11-24 22:30:19 +01:00
vendorcode vendorcode: google: chromeos: Remove old fmap.c file 2015-12-17 19:55:26 +01:00
Kconfig drivers/pc80: Add optional spinlock for nvram CBFS access 2015-12-18 19:47:01 +01:00