mlx5_core: Fixes for sparse warnings
authorRoland Dreier <roland@purestorage.com>
Mon, 8 Jul 2013 17:52:28 +0000 (10:52 -0700)
committerRoland Dreier <roland@purestorage.com>
Mon, 8 Jul 2013 17:52:28 +0000 (10:52 -0700)
commit582c016e68dc5dfea4d3582512157f165a428149
tree3c2a36544dd8125d6b224c91c326bacf30660e4f
parentad32b95f8281ac5a292da83ff27616aceee4b770
mlx5_core: Fixes for sparse warnings

 - use be32_to_cpu() instead of cpu_to_be32() where appropriate.
 - use proper accessors for pointers marked __iomem.

Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/mellanox/mlx5/core/debugfs.c
drivers/net/ethernet/mellanox/mlx5/core/health.c