mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
qcacld-3.0: Init local variable cnss_info before using it
Initialize cnss_info in pld_pcie_get_soc_info() before using it. CRs-Fixed: 2205420 Change-Id: I4b34fc64ca50c031faa79fd1e272bae24cc0f766
This commit is contained in:
parent
a581a56a53
commit
8b9daf255c
1 changed files with 1 additions and 1 deletions
|
|
@ -698,7 +698,7 @@ int pld_pcie_get_platform_cap(struct device *dev, struct pld_platform_cap *cap)
|
|||
int pld_pcie_get_soc_info(struct device *dev, struct pld_soc_info *info)
|
||||
{
|
||||
int ret = 0;
|
||||
struct cnss_soc_info cnss_info;
|
||||
struct cnss_soc_info cnss_info = {0};
|
||||
|
||||
if (info == NULL)
|
||||
return -ENODEV;
|
||||
|
|
|
|||
Loading…
Reference in a new issue