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

Thomas Monjalon thomas.monjalon at 6wind.com
Mon May 16 18:39:38 CEST 2016


> > 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 <slawomirx.mrozowicz at intel.com>
> 
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>

Applied, thanks



More information about the dev mailing list