You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by bt...@apache.org on 2020/06/11 00:52:03 UTC

[incubator-nuttx] 04/11: pcie: types array should be null terminated

This is an automated email from the ASF dual-hosted git repository.

btashton pushed a commit to branch pci
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 669be1fe2e14be6fd49547e1f68102e08b309391
Author: Yang Chung-Fan <so...@gmail.com>
AuthorDate: Wed May 6 15:07:41 2020 +0900

    pcie: types array should be null terminated
---
 drivers/pcie/pcie_root.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pcie/pcie_root.c b/drivers/pcie/pcie_root.c
index 1fe2181..c5ee688 100644
--- a/drivers/pcie/pcie_root.c
+++ b/drivers/pcie/pcie_root.c
@@ -44,6 +44,7 @@ struct pcie_dev_type_s *pci_device_types[] =
 #ifdef CONFIG_VIRT_QEMU_PCI_TEST
   &pcie_type_qemu_pci_test,
 #endif /* CONFIG_VIRT_QEMU_PCI_TEST */
+  NULL,
 };
 
 /****************************************************************************