]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3dbda5f204b248eedd3dddfb58bec2220bed4eb
tree093ad7d68e20e15e55966800b9e0c4e4b3685d3e
parent2d90c6fbd28469cb7ebb73761b4bf2e97d7c401b
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