Unverified Commit 18a355bf authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!1597 Fix the bugs of 3SNIC driver compilation failure while using clang

Merge Pull Request from: @steven-song3 
 
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7PGHA


CVE:NA

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

1.fix a serial of uninitialized bugs 
2.fix the bug that expression does not compute the number of elements

Reviewed-by: default avatarChen Mou <chenmou@3snic.com>
Reviewed-by: default avatarWan Renyong <wanry@3snic.com>
Reviewed-by: default avatarYang Gan <yanggan@3snic.com>
Reviewed-by: default avatarWen Liang <wenliang@3snic.com>
Signed-off-by: default avatarSteven Song <steven.song@3snic.com>

==================================
Test:
compille: pass
insmod/rmmod: pass
iperf: Pass 
 
Link:https://gitee.com/openeuler/kernel/pulls/1597

 

Reviewed-by: default avatarJason Zeng <jason.zeng@intel.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents 794c1919 64dcc29e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment