mlx5e: Fix sparse warnings in mlx5e_handle_csum().
authorDavid S. Miller <davem@davemloft.net>
Tue, 18 Aug 2015 04:22:26 +0000 (21:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Aug 2015 04:22:26 +0000 (21:22 -0700)
commitecf842f65c76f7dc2420a5295dfbf01ec7232320
tree0918da11cbb6fbdcdaaa2252a871fb76a6d114df
parentdc028da54ed353edd44dca88b7eb19fd5126c354
mlx5e: Fix sparse warnings in mlx5e_handle_csum().

>> drivers/net/ethernet/mellanox/mlx5/core/en_rx.c:173:44: sparse: incorrect type in argument 1 (different base types)
   drivers/net/ethernet/mellanox/mlx5/core/en_rx.c:173:44:    expected restricted __sum16 [usertype] n
   drivers/net/ethernet/mellanox/mlx5/core/en_rx.c:173:44:    got restricted __be16 [usertype] check_sum

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c