Skip to content

Commit

Permalink
Fix brackets near initiliaziation of epoll_data_t
Browse files Browse the repository at this point in the history
This fixes the following compilation warning:
e_qat.c:167:8: warning: missing braces around initializer [-Wmissing-braces]
e_qat.c:167:8: warning: (near initialization for 'eng_epoll_events[0].data') [-Wmissing-braces]

Change-Id: I7885c1be40ba490fc74615ccc907196da2a4c8d1
Signed-off-by: Steve Linsell <stevenx.linsell@intel.com>
  • Loading branch information
agrandi authored and stevelinsell committed Jan 23, 2017
1 parent 7153728 commit 6376a68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e_qat.c
Expand Up @@ -164,9 +164,9 @@ typedef struct {
int inst_index;
} ENGINE_EPOLL_ST;

struct epoll_event eng_epoll_events[MAX_CRYPTO_INSTANCES] = { { 0, 0 } };
struct epoll_event eng_epoll_events[MAX_CRYPTO_INSTANCES] = {{ 0 }};
static int internal_efd = 0;
static ENGINE_EPOLL_ST eng_poll_st[MAX_CRYPTO_INSTANCES] = { {-1} };
static ENGINE_EPOLL_ST eng_poll_st[MAX_CRYPTO_INSTANCES] = {{ -1 }};
CpaInstanceHandle *qatInstanceHandles = NULL;
static pthread_key_t qatInstanceForThread;
pthread_t *icp_polling_threads;
Expand Down

0 comments on commit 6376a68

Please sign in to comment.