Skip to content
Snippets Groups Projects
Commit 5c7a986c authored by Jorge Ramirez-Ortiz's avatar Jorge Ramirez-Ortiz
Browse files

listener: initialize eventfd static values


values must be initialized to an invalid fd (static variables are
initialized to zero which is a valid eventfd descriptor).

Signed-off-by: default avatarJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
parent 7797ba9c
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,8 @@ struct listener {
int eventfd;
};
static struct listener linfo[NUM_DOMAINS_EXTEND];
static struct listener linfo[NUM_DOMAINS_EXTEND] =
{ [0 ... NUM_DOMAINS_EXTEND - 1] = { .thread = 0, .eventfd = -1 } };
//TODO: fix this to work over any number of buffers
// needs qaic to support extra buffers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment