staging: gdm724x: kzalloc should be used instead of kmalloc/memset
authorTeodora Baluta <teobaluta@gmail.com>
Tue, 22 Oct 2013 22:15:26 +0000 (01:15 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Oct 2013 03:34:46 +0000 (20:34 -0700)
commit1f5586475dfac0c2ca79c4c63fb281992165c51c
treeabfdc31277a04c5a017293f469772f356a9837f9
parent1f933fa81652efe2069df2565ffdd83f59e99e01
staging: gdm724x: kzalloc should be used instead of kmalloc/memset

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

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Reviewed-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm724x/gdm_usb.c