On Sat, Mar 11, 2006 at 11:29:02AM +0000, Craig Shelley wrote: > Hi, > > This patch adds a new device ID to the cp2101 driver, and also fixes a > bug identified by Eric Enright: > > On line 168 it kmalloc()s some memory, memset()s > > it, and /then/ checks to see if kmalloc() returned a valid pointer. > > The memset() and NULL check should probably be switched around.
That bug was already fixed by changing to kcalloc instead of kmalloc, which was already done in the driver by someone else. thanks, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel