Re: [Outreachy kernel] [PATCH] staging/rtl8192u/ieee80211: replace kmalloc with kzalloc

2020-10-23 Thread Julia Lawall
The above is not the right subject line for this file (ie the part to the left of the colon). You should use git log --oneline on this file to see what others have done. julia On Fri, 23 Oct 2020, Elena Afanasova wrote: > kmalloc() and memset() calls can be replaced with kzalloc(). > Found with

[PATCH] staging/rtl8192u/ieee80211: replace kmalloc with kzalloc

2020-10-23 Thread Elena Afanasova
kmalloc() and memset() calls can be replaced with kzalloc(). Found with Coccinelle. Signed-off-by: Elena Afanasova --- drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c b/dr