bnx2x: Fix compiler warnings
authorJoren Van Onder <joren.vanonder@gmail.com>
Sat, 11 Aug 2012 17:10:35 +0000 (17:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Aug 2012 20:42:18 +0000 (13:42 -0700)
commitf57b07c0c7ca9e4dde36acfabdf474ee3c478e6d
tree1f9f7fb8d23c1f87021ffa3806c4f70723b89eff
parent7f5c3e3a80e6654cf48dfba7cf94f88c6b505467
bnx2x: Fix compiler warnings

Fix the following compiler warnings:

 - drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:2908:3: warning: comparison
   of distinct pointer types lacks a cast [enabled by default]
 - drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c:1709:7: warning: comparison
   of distinct pointer types lacks a cast [enabled by default]

Signed-off-by: Joren Van Onder <joren.vanonder@gmail.com>
Acked-By: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h