diff options
author | Hao Chen <chenhao288@hisilicon.com> | 2021-08-30 21:51:08 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-31 12:36:42 +0100 |
commit | c74e503572ea0dbfa6ef3449944a286354f9f9b4 (patch) | |
tree | f5fbe6129a2cf8efef219443db73dbcddf13273f /drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | |
parent | net: hns3: clean up a type mismatch warning (diff) | |
download | linux-dev-c74e503572ea0dbfa6ef3449944a286354f9f9b4.tar.xz linux-dev-c74e503572ea0dbfa6ef3449944a286354f9f9b4.zip |
net: hns3: add some required spaces
Add some required spaces to improve readability.
Signed-off-by: Hao Chen <chenhao288@hisilicon.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3_enet.h')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h index 299802995091..6162d9f88e37 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_enet.h @@ -392,11 +392,11 @@ enum hns3_pkt_ol4type { }; struct hns3_rx_ptype { - u32 ptype:8; - u32 csum_level:2; - u32 ip_summed:2; - u32 l3_type:4; - u32 valid:1; + u32 ptype : 8; + u32 csum_level : 2; + u32 ip_summed : 2; + u32 l3_type : 4; + u32 valid : 1; }; struct ring_stats { @@ -522,9 +522,9 @@ struct hns3_enet_coalesce { u16 int_gl; u16 int_ql; u16 int_ql_max; - u8 adapt_enable:1; - u8 ql_enable:1; - u8 unit_1us:1; + u8 adapt_enable : 1; + u8 ql_enable : 1; + u8 unit_1us : 1; enum hns3_flow_level_range flow_level; }; |