Re: [PATCH] Staging rtlwifi efuse fix up a warning kzalloc

From: Dan Carpenter
Date: Mon Aug 28 2017 - 04:32:54 EST


Yeah... I reviewed this code to see where
rtlpriv->cfg->maps[EFUSE_HWSET_MAX_SIZE] gets set and if it can be
controlled by the user.

It looks to me like it's only set when we declare rtl8822be_hal_cfg in
drivers/staging/rtlwifi/rtl8822be/sw.c so it's fine. I think it should
probably be a big struct instead of an array.

regards,
dan carpenter