Re: [U-Boot] [PATCH 2/3] usb:composite: clear the whole common buffer

2014-06-09 Thread Lukasz Majewski
Hi Jeroen, > Since the struct fsg_common is calloced, reset it completely > with zero's when reused. While at it, make checkpatch happy. > > cc: Lukasz Majewski > cc: Piotr Wilczek > cc: Kyungmin Park > cc: Marek Vasut > Signed-off-by: Jeroen Hofstee > --- > drivers/usb/gadget/f_mass_storage

Re: [U-Boot] [PATCH 2/3] usb:composite: clear the whole common buffer

2014-06-09 Thread Marek Vasut
On Monday, June 09, 2014 at 03:28:59 PM, Jeroen Hofstee wrote: > Since the struct fsg_common is calloced, reset it completely > with zero's when reused. While at it, make checkpatch happy. > > cc: Lukasz Majewski > cc: Piotr Wilczek > cc: Kyungmin Park > cc: Marek Vasut > Signed-off-by: Jeroen

[U-Boot] [PATCH 2/3] usb:composite: clear the whole common buffer

2014-06-09 Thread Jeroen Hofstee
Since the struct fsg_common is calloced, reset it completely with zero's when reused. While at it, make checkpatch happy. cc: Lukasz Majewski cc: Piotr Wilczek cc: Kyungmin Park cc: Marek Vasut Signed-off-by: Jeroen Hofstee --- drivers/usb/gadget/f_mass_storage.c:2470:28: warning: 'memset' ca