[dpdk-dev] [PATCH] pipeline: use unsigned constants for left shift operations

2016-03-13 Thread Thomas Monjalon
> > Tell the compiler to use unsigned constants for left shift ops, > > otherwise building with gcc >= 6.0 fails due to multiple warnings like: > > warning: left shift of negative value [-Wshift-negative-value] > > > > Signed-off-by: Panu Matilainen > > Acked-by: Cristian Dumitrescu Applied wi

[dpdk-dev] [PATCH] pipeline: use unsigned constants for left shift operations

2016-03-13 Thread Thomas Monjalon
2016-03-10 15:49, Panu Matilainen: > --- a/examples/ip_pipeline/pipeline/pipeline_routing.c > +++ b/examples/ip_pipeline/pipeline/pipeline_routing.c > @@ -319,7 +319,7 @@ app_pipeline_routing_add_route(struct app_params *app, > if ((depth == 0) || (depth > 32)) >

[dpdk-dev] [PATCH] pipeline: use unsigned constants for left shift operations

2016-03-10 Thread Panu Matilainen
Tell the compiler to use unsigned constants for left shift ops, otherwise building with gcc >= 6.0 fails due to multiple warnings like: warning: left shift of negative value [-Wshift-negative-value] Signed-off-by: Panu Matilainen --- examples/ip_pipeline/pipeline/pipeline_common_fe.c | 4 ++-- e

[dpdk-dev] [PATCH] pipeline: use unsigned constants for left shift operations

2016-03-10 Thread Dumitrescu, Cristian
> -Original Message- > From: Panu Matilainen [mailto:pmatilai at redhat.com] > Sent: Thursday, March 10, 2016 1:50 PM > To: dev at dpdk.org > Cc: Dumitrescu, Cristian > Subject: [PATCH] pipeline: use unsigned constants for left shift operations > > Tell the compiler to use unsigned cons