[PATCH] Staging rtlwifi efuse fix up a warning kzalloc

Dan Carpenter dan.carpenter at oracle.com
Mon Aug 28 08:32:21 UTC 2017


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



More information about the devel mailing list