net/bnx2x: fix build with icc
authorFerruh Yigit <ferruh.yigit@intel.com>
Mon, 27 Jun 2016 16:02:33 +0000 (17:02 +0100)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 29 Jun 2016 09:48:36 +0000 (11:48 +0200)
commit9c9def9bfa37421f150387ee6bc78b91a8df2ea9
tree87d690d31d9865424f28020a76d5ebabdac9bef6
parentcfcf046653fa8875d2755489bf3b566207771856
net/bnx2x: fix build with icc

Fix multiple icc issues of type:
error #188: enumerated type mixed with another type

For simple cases, just fix the code causing the problem.
However, we still need to disable compiler warning because of
more complex cases.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Rasesh Mody <rasesh.mody@qlogic.com>
drivers/net/bnx2x/Makefile
drivers/net/bnx2x/elink.c