From: Aurelio <sk...@us...> - 2006-11-18 14:56:54
|
Update of /cvsroot/zyxel630-11/amedyn2/module In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv11925 Modified Files: amedyn2.c Log Message: Move to kzalloc Index: amedyn2.c =================================================================== RCS file: /cvsroot/zyxel630-11/amedyn2/module/amedyn2.c,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** amedyn2.c 28 Sep 2006 20:08:43 -0000 1.12 --- amedyn2.c 18 Nov 2006 14:56:52 -0000 1.13 *************** *** 726,730 **** } ! instance = kmalloc(sizeof(*instance), GFP_KERNEL); if (!instance) { --- 726,730 ---- } ! instance = kzalloc(sizeof(*instance), GFP_KERNEL); if (!instance) { *************** *** 734,739 **** } - memset(instance, 0, sizeof(struct amedyn_instance_data)); - instance->usbatm = usbatm; --- 734,737 ---- |