net: hns3: modify an incorrect type in struct hclge_cfg_gro_status_cmd
authorHuazhong Tan <tanhuazhong@huawei.com>
Thu, 28 May 2020 13:48:12 +0000 (21:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 23:39:03 +0000 (16:39 -0700)
commit639d84d0c4281e6d8814bb2cc230bfe7ccf5019d
tree093ad7d68e20e15e55966800b9e0c4e4b3685d3e
parent5caa039f320d023fb2a40c8c7ededfca3ce85501
net: hns3: modify an incorrect type in struct hclge_cfg_gro_status_cmd

Modify field .gro_en in struct hclge_cfg_gro_status_cmd to u8
according to the UM, otherwise, it will overwrite the reserved
byte which may be used for other purpose.

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