nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btash...@apache.org
Subject [incubator-nuttx] 04/11: pcie: types array should be null terminated
Date Wed, 13 May 2020 15:39:38 GMT
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 8e8b4d6ea36231bac79344614218e23a0a727561
Author: Yang Chung-Fan <sonic.tw.tp@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,
 };
 
 /****************************************************************************


Mime
View raw message