qede: fix build with gcc 6
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 10 May 2016 10:01:25 +0000 (13:01 +0300)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 13 May 2016 15:38:07 +0000 (17:38 +0200)
commit84740d785c1c0511dc6b88196f8783b3ca3d2c69
treeb56a32d7bfccfd8d97cc619de234caeb2bc04965
parent4de35ac07e2c4e28269cc2ec1e8b3acb9146747c
qede: fix build with gcc 6

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.

Fixes: ec94dbc57362 ("qede: add base driver")

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
drivers/net/qede/Makefile