Merge "cnss_utils: Zero out cnss_utils priv structure during initalization"
This commit is contained in:
commit
4e361bef1f
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ static int __init cnss_utils_init(void)
|
|||
{
|
||||
struct cnss_utils_priv *priv = NULL;
|
||||
|
||||
priv = kmalloc(sizeof(*priv), GFP_KERNEL);
|
||||
priv = kzalloc(sizeof(*priv), GFP_KERNEL);
|
||||
if (!priv)
|
||||
return -ENOMEM;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue