]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: rtl8188eu: Replace kzalloc with kcalloc
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 15 Jan 2019 04:40:58 +0000 (22:40 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jan 2019 15:08:04 +0000 (16:08 +0100)
commit891fd847605d4d7e8aef07db39f1868b5a70e047
treebe143bbb1abe39b91eea2f97ce896201bcf9dafd
parente6718f686ed4b9e48c26bf3cda220a2c98df20e3
staging: rtl8188eu: Replace kzalloc with kcalloc

Replace kzalloc() function with its 2-factor argument form, kcalloc().

This patch replaces cases of:

kzalloc(a * b, gfp)

with:
kcalloc(a, b, gfp)

This code was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_efuse.c