Commit ebb0518c authored by Junxin Chen's avatar Junxin Chen Committed by Yang Yingliang
Browse files

net: hns3: fix bug when parameter check



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

----------------------------------

When we check arrays, we both check its value and its size,
this patch fixes a bug when getting size of type.

Signed-off-by: default avatarJunxin Chen <chenjunxin1@huawei.com>
Reviewed-by: default avatarZhong Zhaohui <zhongzhaohui@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent ee0bcdc1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment