[dpdk-dev] [PATCH] qede: fix build with gcc >= 6.0

2016-05-18 Thread Panu Matilainen
On 05/14/2016 04:06 AM, Rasesh Mody wrote: >> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] >> Sent: Friday, May 13, 2016 8:38 AM >> >> 2016-05-10 13:01, Panu Matilainen: >>> With gcc >= 6.0, qede base driver fails to build with: >>> drivers/net/qede/base/ecore_cxt.c: In function

[dpdk-dev] [PATCH] qede: fix build with gcc >= 6.0

2016-05-14 Thread Rasesh Mody
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, May 13, 2016 8:38 AM > > 2016-05-10 13:01, Panu Matilainen: > > With gcc >= 6.0, qede base driver fails to build with: > > drivers/net/qede/base/ecore_cxt.c: In function 'ecore_cdu_init_common': > > cc1: error: left

[dpdk-dev] [PATCH] qede: fix build with gcc >= 6.0

2016-05-13 Thread Thomas Monjalon
2016-05-10 13:01, Panu Matilainen: > With gcc >= 6.0, qede base driver fails to build with: > drivers/net/qede/base/ecore_cxt.c: In function 'ecore_cdu_init_common': > cc1: error: left shift of negative value [-Werror=shift-negative-value] > > Since the base drivers are untouchable, work around

[dpdk-dev] [PATCH] qede: fix build with gcc >= 6.0

2016-05-10 Thread Panu Matilainen
With gcc >= 6.0, qede base driver fails to build with: drivers/net/qede/base/ecore_cxt.c: In function 'ecore_cdu_init_common': cc1: error: left shift of negative value [-Werror=shift-negative-value] Since the base drivers are untouchable, work around by disabling the warning. Signed-off-by: Panu