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

!1722 [sync] PR-1597: Fix the bugs of 3SNIC driver compilation failure while using clang

Merge Pull Request from: @openeuler-sync-bot 
 

Origin pull request: 
https://gitee.com/openeuler/kernel/pulls/1597 
 
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/1722

 

Reviewed-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents 72319893 d9b27bea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment