Merge "cnss_utils: Zero out cnss_utils priv structure during initalization"

This commit is contained in:
Linux Build Service Account 2017-07-06 23:41:21 -07:00 committed by Gerrit - the friendly Code Review server
commit 4e361bef1f

View file

@ -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;