commit | 3c8f5c0339515202e8662b6e3ae36a7b16610caf | [log] [tgz] |
---|---|---|
author | Fuyun Liang <liangfuyun1@huawei.com> | Sat Mar 24 11:32:45 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 26 12:12:26 2018 -0400 |
tree | 47d6a178c598ce77b718ae5d27c539a6819a73a0 | |
parent | da44a00f06df1f823ea449065e79581ee624de4b [diff] |
net: hns3: fix for the wrong shift problem in hns3_set_txbd_baseinfo Third parameter of hnae_set_field is shift, But a mask is given. This patch fixes it by replacing HNS3_TXD_BDTYPE_M with HNS3_TXD_BDTYPE_S. Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>