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

[Minios-devel] [UNIKRAFT PATCH] lib/uksched: Initialize value thread_list in struct uk_waitq_entry



This fixes compiler warnings with g++.

Signed-off-by: Florian Schmidt <florian.schmidt@xxxxxxxxx>
---
 lib/uksched/include/uk/wait_types.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/uksched/include/uk/wait_types.h 
b/lib/uksched/include/uk/wait_types.h
index 209e493..a740543 100644
--- a/lib/uksched/include/uk/wait_types.h
+++ b/lib/uksched/include/uk/wait_types.h
@@ -50,6 +50,7 @@ UK_STAILQ_HEAD(uk_waitq, struct uk_waitq_entry);
 struct uk_waitq_entry name = { \
        .waiting      = 0, \
        .thread       = uk_thread_current(), \
+       .thread_list  = { NULL } \
 }
 
 #ifdef __cplusplus
-- 
2.21.0


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

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