[dpdk-dev] [PATCH v4] examples/qos_sched: fix bad bit shift operation

2016-05-16 Thread Thomas Monjalon
> > Fix issue reported by Coverity. > > > > Coverity ID 30690: Bad bit shift operation > > large_shift: In expression 1ULL << i, left shifting by more than 63 bits > > has undefined behavior. The shift amount, i, is as much as 127. > > > > Fixes: de3cfa2c9823 ("sched: initial import") > > > > Si

[dpdk-dev] [PATCH v4] examples/qos_sched: fix bad bit shift operation

2016-05-16 Thread Thomas Monjalon
> > Subject: [PATCH v4] examples/qos_sched: fix bad bit shift operation Slawomir, please use --in-reply-to when sending a new revision, to let us see the full history in our mailer and in the archives. [...] > > diff --git a/examples/qos_sched/args.c b/examples/qos_sched/args.c > > index 3e7fd08.

[dpdk-dev] [PATCH v4] examples/qos_sched: fix bad bit shift operation

2016-05-11 Thread Slawomir Mrozowicz
Fix issue reported by Coverity. Coverity ID 30690: Bad bit shift operation large_shift: In expression 1ULL << i, left shifting by more than 63 bits has undefined behavior. The shift amount, i, is as much as 127. Fixes: de3cfa2c9823 ("sched: initial import") Signed-off-by: Slawomir Mrozowicz ---

[dpdk-dev] [PATCH v4] examples/qos_sched: fix bad bit shift operation

2016-05-11 Thread Dumitrescu, Cristian
> -Original Message- > From: Mrozowicz, SlawomirX > Sent: Wednesday, May 11, 2016 9:48 AM > To: Dumitrescu, Cristian > Cc: dev at dpdk.org; Singh, Jasvinder ; > Mrozowicz, SlawomirX > Subject: [PATCH v4] examples/qos_sched: fix bad bit shift operation > > Fix issue reported by Coverity