From 393ed71d817662430a8180052f9aa1dd6eb05917 Mon Sep 17 00:00:00 2001 From: p-szafonimateusz Date: Wed, 20 Mar 2024 16:47:44 +0100 Subject: [PATCH] pci_drivers.c: initialize ret to avoid compiler warnings initialize ret to avoid compiler warnings in pci_drivers.c Signed-off-by: p-szafonimateusz --- drivers/pci/pci_drivers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci_drivers.c b/drivers/pci/pci_drivers.c index cd25ee2d46..4247d7340b 100644 --- a/drivers/pci/pci_drivers.c +++ b/drivers/pci/pci_drivers.c @@ -47,7 +47,7 @@ int pci_register_drivers(void) { - int ret; + int ret = OK; #ifdef CONFIG_PCI_IVSHMEM ret = pci_ivshmem_register();