Re: [PATCH v2 19/27] staging: rtl8*: use zeroing allocator rather than allocator followed with memset 0

2019-06-27 Thread Julia Lawall
On Fri, 28 Jun 2019, Fuqian Huang wrote: > Use zeroing allocator rather than allocator followed with memset 0. Maybe it would be better to just change these to the appropriate kmalloc and kzalloc calls. You will need to check on whether locks are held to know whether the secon argument should

[PATCH v2 19/27] staging: rtl8*: use zeroing allocator rather than allocator followed with memset 0

2019-06-27 Thread Fuqian Huang
Use zeroing allocator rather than allocator followed with memset 0. Signed-off-by: Fuqian Huang --- drivers/staging/rtl8188eu/os_dep/mlme_linux.c | 3 +-- drivers/staging/rtl8712/rtl871x_io.c | 4 +--- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 8 ++-- drivers/st