Skip to contentSkip to conversation

staging: rtl8188eu: kzalloc replaced by kmalloc

PATCH In review Ivan Safonov 1 participant 1 message Nov 8, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 5/12 staging: rtl8188eu: kzalloc replaced by kmalloc

_rtl88e_fill_dummy fills the array elemets with zeros if necessary.

---
 drivers/staging/rtl8188eu/hal/fw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8188eu/hal/fw.c +1 -1
index 1d8930a..7f1df4d 100644
@@ -189,7 +189,7 @@ int rtl88eu_download_fw(struct adapter *adapt)
 		return -EFBIG;
 	}
 
-	pfwdata = kzalloc(FW_8188E_SIZE, GFP_KERNEL);
+	pfwdata = kmalloc(FW_8188E_SIZE, GFP_KERNEL);
 	if (!pfwdata)
 		return -ENOMEM;
 
Signature · 1 line
2.4.10