On Fri, Oct 23, 2020 at 11:47:05AM -0700, Elena Afanasova wrote:
> Replace kmalloc + memset 0 by a call to kzalloc which zeroes memory too.
> Found with Coccinelle.
>
> Signed-off-by: Elena Afanasova
> ---
> Changes in v2:
> - correct the subject line
> - correct the commit message
>
On Fri, Oct 23, 2020 at 11:47:05AM -0700, Elena Afanasova wrote:
> Replace kmalloc + memset 0 by a call to kzalloc which zeroes memory too.
> Found with Coccinelle.
>
> Signed-off-by: Elena Afanasova
> ---
> Changes in v2:
> - correct the subject line
> - correct the commit message
>
Replace kmalloc + memset 0 by a call to kzalloc which zeroes memory too.
Found with Coccinelle.
Signed-off-by: Elena Afanasova
---
Changes in v2:
- correct the subject line
- correct the commit message
drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c | 5 +
1 file changed,