[firefly] [PATCH] staging: gdm724x: kzalloc should be used instead of kmalloc/memset

Daniel Baluta daniel.baluta at gmail.com
Wed Oct 23 01:08:48 EEST 2013


On Tue, Oct 22, 2013 at 10:05 PM, Teodora Baluta <teobaluta at gmail.com> wrote:
> This patch fixes the following coccinelle warnings in driver gdm724x:
>
> drivers/staging/gdm724x/gdm_usb.c:127:9-16: WARNING: kzalloc should be used for t_sdu, instead of kmalloc/memset
> drivers/staging/gdm724x/gdm_usb.c:91:5-12: WARNING: kzalloc should be used for t, instead of kmalloc/memset

Look good. Thanks Teo.


More information about the firefly mailing list