> > 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:
> >
-Original Message-
> Date: Fri, 14 Apr 2017 17:04:58 +0100
> From: Harry van Haaren
> To: dev@dpdk.org
> CC: jerin.ja...@caviumnetworks.com, Harry van Haaren
>
> Subject: [PATCH] eventdev: fix dequeue timeout bitmask brackets
> X-Mailer: git-send-email 2.7.4
>
> Fix brackets around the
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) {
3 matches
Mail list logo