[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XENBUS PATCH 08/13] Fix missing return types



StoreGetAddress and ConsoleGetAddress should return NTSTATUS.

Signed-off-by: Tu Dinh <ngoc-tu.dinh@xxxxxxxxxx>
---
 src/xenbus/console.c | 2 +-
 src/xenbus/store.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xenbus/console.c b/src/xenbus/console.c
index 80e8b69..2d747cb 100644
--- a/src/xenbus/console.c
+++ b/src/xenbus/console.c
@@ -381,7 +381,7 @@ fail1:
     return status;
 }
 
-static
+static NTSTATUS
 ConsoleGetAddress(
     _In_ PXENBUS_CONSOLE_CONTEXT    Context,
     _Out_ PPHYSICAL_ADDRESS         Address
diff --git a/src/xenbus/store.c b/src/xenbus/store.c
index 0685feb..b0f2332 100644
--- a/src/xenbus/store.c
+++ b/src/xenbus/store.c
@@ -2235,7 +2235,7 @@ StoreEnable(
         Context->Dpcs++;
 }
 
-static
+static NTSTATUS
 StoreGetAddress(
     _In_ PXENBUS_STORE_CONTEXT  Context,
     _Out_ PPHYSICAL_ADDRESS     Address
-- 
2.50.0.windows.1



Ngoc Tu Dinh | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.