Author: Alexander Beregalov <a.beregalov@gmail.com> Use kzalloc rather than kmalloc followed by memset with 0. Found by coccinelle. Signed-off-by: Alexander Beregalov Signed-off-by: Greg Kroah-Hartman — drivers/staging/brcm80211/brcmfmac/dhd_linux.c | 4 +— drivers/staging/brcm80211/brcmfmac/dhd_sdio.c | 6 ++—- drivers/staging/brcm80211/brcmfmac/wl_iw.c | 9 +++—— drivers/staging/brcm80211/brcmsmac/wl_mac80211.c | 4 +— 4 files changed, 7 insertions(+), 16 deletions(-) diff –git a/drivers/staging/brcm80211/brcmfmac/dhd_linux.c b/drivers/staging/brcm80211/brcmfmac/dhd_linux.c index ab8e688..d473f64 100644 …
Privacy Overview
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.