Commit b374014d authored by gaoxun's avatar gaoxun Committed by Yang Yingliang
Browse files

net: hns3: cae security review



driver inclusion
category: cleanup
bugzilla: NA
CVE: NA
----------------------------------------------------------
This patch is dedicated to solve some review issues:
1.bool type variables are initialized at declaration;
2.Pointer variables are properly initialized at declaration
3.Certain prevailing input paraemeters, 'priv' in specific, of pointer
type whose associated memory is not expected to be modified in
principle, is specified as a pointer to const data type;
4.Handle functions in cae_ext are renamed to present the code
in a straightforward while informative manner;

Signed-off-by: default avatargaoxun <gaoxun3@huawei.com>
Reviewed-by: default avatardengweiwei <dengweiwei@huawei.com>
Reviewed-by:chenjunxin <chenjunxin1@huawei.com>
Reviewed-by:youshengzui <youshengzui@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 784a749d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment