bnx2x: Fix sparse warnings
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Thu, 28 Aug 2014 05:07:32 +0000 (08:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Aug 2014 03:34:59 +0000 (20:34 -0700)
commit56daf66d3ca9558a71683779eec4f03c878f4de2
tree0ddae7a8e3af6af237e29a1aa4a76b050eb8e75c
parent918bbc4ffdb84e9d2696315e427a6c43de65bc01
bnx2x: Fix sparse warnings

This fixes a sprase warning introduced recently by commit
eeed018cbfa30 ("bnx2x: Add timestamping and PTP hardware clock support"),
as well as another unrelated sparse endian issue.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c