Rizwan Qureshi has uploaded a new change for review. ( https://review.coreboot.org/19860 )
Change subject: intel/common/block: terminate pci device list with a 0 ......................................................................
intel/common/block: terminate pci device list with a 0
Terminate pci device list array with a 0, to avoid overrun during device match.
Change-Id: I4b7a88306e268aaea9f320debba052cd480b44be Signed-off-by: Rizwan Qureshi rizwan.qureshi@intel.corp-partner.google.com --- M src/soc/intel/common/block/i2c/i2c.c M src/soc/intel/common/block/uart/uart.c 2 files changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/19860/1
diff --git a/src/soc/intel/common/block/i2c/i2c.c b/src/soc/intel/common/block/i2c/i2c.c index 9d608d8..3cd4c74 100644 --- a/src/soc/intel/common/block/i2c/i2c.c +++ b/src/soc/intel/common/block/i2c/i2c.c @@ -174,6 +174,7 @@ PCI_DEVICE_ID_INTEL_APL_I2C5, PCI_DEVICE_ID_INTEL_APL_I2C6, PCI_DEVICE_ID_INTEL_APL_I2C7, + 0, };
static const struct pci_driver pch_i2c __pci_driver = { diff --git a/src/soc/intel/common/block/uart/uart.c b/src/soc/intel/common/block/uart/uart.c index 8c5e454..7df1a41 100644 --- a/src/soc/intel/common/block/uart/uart.c +++ b/src/soc/intel/common/block/uart/uart.c @@ -60,6 +60,7 @@ PCI_DEVICE_ID_INTEL_APL_UART1, PCI_DEVICE_ID_INTEL_APL_UART2, PCI_DEVICE_ID_INTEL_APL_UART3, + 0, };
static const struct pci_driver pch_uart __pci_driver = {