[dpdk-dev] [PATCH v2] examples/exception_path: fix shift operation in lcore setup

2016-09-11 Thread Yuanhan Liu
On Tue, Aug 09, 2016 at 02:37:15PM +0200, Daniel Mrzyglod wrote: > The operaton may have an undefined behavior or yield to an unexpected result. > A bit shift operation has a shift amount which is too large or has a negative > value. > > As was mentioned in mailing list core list was limited to 6

[dpdk-dev] [PATCH v2] examples/exception_path: fix shift operation in lcore setup

2016-08-09 Thread Daniel Mrzyglod
The operaton may have an undefined behavior or yield to an unexpected result. A bit shift operation has a shift amount which is too large or has a negative value. As was mentioned in mailing list core list was limited to 64 so i changed bitmask to core array Coverity issue: 30688 Fixes: ea977ff