]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Cleanup for struct that used to send cmd to firmware
authorYunsheng Lin <linyunsheng@huawei.com>
Mon, 9 Oct 2017 07:43:59 +0000 (15:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Oct 2017 16:46:54 +0000 (09:46 -0700)
commit3fd6c1b0cda201ec71781678c26f5fbd9dc3b533
tree0b16474c9e26970b85c3022ba5cb2028ec1c19e9
parente52f1d23789e162581a0c186c9d036f260461610
net: hns3: Cleanup for struct that used to send cmd to firmware

The hclge_tm module has already added _cmd to the end of struct
that used to send cmd to firmware. This will help us finding the
endian issues.
This patch adds the _cmd to the end of struct that used to send
cmd to firmware in hclge_main module.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c