diff options
author | Yufeng Mo <moyufeng@huawei.com> | 2020-05-09 17:27:40 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-05-10 19:43:22 -0700 |
commit | b4401a044a1e6397d21806c210dd0d9b4da93e27 (patch) | |
tree | e2aa907b43203f1a04c208b5ad1dcb6f59a182bb /include/net/dsa.h | |
parent | a4de02287abb9947336dfdccc83f6c0cc182e7d9 (diff) | |
download | kernel_replicant_linux-b4401a044a1e6397d21806c210dd0d9b4da93e27.tar.gz kernel_replicant_linux-b4401a044a1e6397d21806c210dd0d9b4da93e27.tar.bz2 kernel_replicant_linux-b4401a044a1e6397d21806c210dd0d9b4da93e27.zip |
net: hns3: optimized the judgment of the input parameters of dump ncl config
This patch optimizes the judgment of the input parameters of dump ncl
config by checking the number and value of the input parameters apart.
It's clearer and more reasonable.
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/dsa.h')
0 files changed, 0 insertions, 0 deletions