eventdev: fix build for clang 4
authorFerruh Yigit <ferruh.yigit@intel.com>
Mon, 17 Apr 2017 14:35:59 +0000 (15:35 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 19 Apr 2017 13:24:32 +0000 (15:24 +0200)
commit27e9fb84597e216b9ac65a6839dc710dd1ceaeb2
treed6a16c9b66b95431f4c6680dda44962e1778ecc5
parent95cd37070af44aedcb2b9a593e5121fbb6f2bfee
eventdev: fix build for clang 4

build error:
.../lib/librte_eventdev/rte_eventdev.c:371:6:
error: logical not is only applied to the left hand side of this
bitwise operator [-Werror,-Wlogical-not-parentheses]
  if (!dev_conf->event_dev_cfg & RTE_EVENT_DEV_CFG_PER_DEQUEUE_TIMEOUT)
      ^
Added parentheses after the '!' to evaluate the bitwise operator first.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eventdev/rte_eventdev.c