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

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



Thanks, Florian!

Reviewed-by: Costin Lupu <costin.lupu@xxxxxxxxx>

On 5/10/19 3:26 PM, Florian Schmidt wrote:
> 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
> 

_______________________________________________
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®.