> > Fix brackets around the & operator to first mask a single bit > > and then perform the not operator. Previously the result was > > not as expected, due to the ! operator being performed first. > > > > As noted on list[1] Clang 4.0 warns about a possible bug for > > > > this type of line: > > if (!variable & FLAG) { > > > > Fixes: 4f0804bbdfb9 ("eventdev: implement the northbound APIs") > > > > Signed-off-by: Harry van Haaren <harry.van.haa...@intel.com> > > Acked-by: Jerin Jacob <jerin.ja...@caviumnetworks.com>
A similar patch has been applied, sorry: http://dpdk.org/commit/27e9fb84