bnx2x: fix build with clang
authorHarish Patil <harish.patil@qlogic.com>
Fri, 11 Dec 2015 06:36:35 +0000 (22:36 -0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 13 Dec 2015 00:55:09 +0000 (01:55 +0100)
commitc275e3cb52ce09b1f20a21590fd66733f989298a
tree3f4b2396b095c8b246de45c556377886712cd437
parenta5724ff9c57239193517d649fac303ed4c67b821
bnx2x: fix build with clang

Fix for the following clang build error:
drivers/net/bnx2x/elink.c:10384:41: error: shifting a
      negative signed value is undefined [-Werror,-Wshift-negative-value]
                vars->eee_status &= ~SHMEM_EEE_1G_ADV <<
                                    ~~~~~~~~~~~~~~~~~ ^

Signed-off-by: Harish Patil <harish.patil@qlogic.com>
drivers/net/bnx2x/ecore_hsi.h