net: hns3: Cleanup for endian issue in hns3 driver

This patch fixes a lot of endian issues detected by sparse.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Yunsheng Lin 2017-10-09 15:44:00 +08:00 • committed by David S. Miller
commit a90bb9a5ea
5 changed files with 145 additions and 109 deletions