[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151108071108.GA1536@alpha.sfu-kras.ru>
Date: Sun, 8 Nov 2015 14:11:08 +0700
From: Ivan Safonov <insafonov@...il.com>
To: devel@...verdev.osuosl.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Vaishali Thakkar <vthakkar1994@...il.com>,
Jakub Sitnicki <jsitnicki@...il.com>,
Anish Bhatt <anish@...ech.edu>, Joe Perches <joe@...ches.com>,
Ivan Safonov <insafonov@...il.com>,
Nicholas Mc Guire <der.herr@...r.at>,
Alexey Khoroshilov <khoroshilov@...ras.ru>,
Rémy Oudompheng <remyoudompheng@...il.com>,
Sudip Mukherjee <sudipm.mukherjee@...il.com>,
Shraddha Barke <shraddha.6596@...il.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 05/12] staging: rtl8188eu: kzalloc replaced by kmalloc
_rtl88e_fill_dummy fills the array elemets with zeros if necessary.
Signed-off-by: Ivan Safonov <insafonov@...il.com>
---
drivers/staging/rtl8188eu/hal/fw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8188eu/hal/fw.c b/drivers/staging/rtl8188eu/hal/fw.c
index 1d8930a..7f1df4d 100644
--- a/drivers/staging/rtl8188eu/hal/fw.c
+++ b/drivers/staging/rtl8188eu/hal/fw.c
@@ -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;
--
2.4.10
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists