aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorGuangbin Huang <huangguangbin2@huawei.com>2020-09-27 15:12:47 +0800
committerDavid S. Miller <davem@davemloft.net>2020-09-27 13:25:22 -0700
commit1329702899db22611c8cfdf63e6d38b71b803fa1 (patch)
treef494b0f7de88edd6c838241ea97d1443b88e794d /usr
parentd9c7d20dfb95b5a084e75186c5090eb09b082eac (diff)
downloadlinux-1329702899db22611c8cfdf63e6d38b71b803fa1.tar.gz
net: hns3: add a check for device specifications queried from firmware
The device specifications querying is unsupported by the old firmware, in this case, these specifications are 0. However, some specifications should not be 0 or will cause problem. So after querying from firmware, some device specifications are needed to check their value and set to default value if their values are 0. Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions