Update of /cvsroot/alsa/alsa-kernel/isa
In directory sc8-pr-cvs1:/tmp/cvs-serv4034
Modified Files:
es18xx.c cmi8330.c
Log Message:
Fixed wrong kmalloc
Index: es18xx.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/es18xx.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- es18xx.c 23 Apr 2003 10:01:33 -0000 1.34
+++ es18xx.c 21 Jul 2003 08:47:35 -0000 1.35
@@ -1966,7 +1966,7 @@
const struct pnp_card_device_id *id)
{
struct pnp_dev *pdev;
- struct pnp_resource_table * cfg = kmalloc(GFP_ATOMIC, sizeof(struct
pnp_resource_table));
+ struct pnp_resource_table * cfg = kmalloc(sizeof(struct pnp_resource_table),
GFP_KERNEL);
int err;
if (!cfg)
Index: cmi8330.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/cmi8330.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- cmi8330.c 11 Apr 2003 07:40:26 -0000 1.21
+++ cmi8330.c 21 Jul 2003 08:47:35 -0000 1.22
@@ -293,7 +293,7 @@
const struct pnp_card_device_id *id)
{
struct pnp_dev *pdev;
- struct pnp_resource_table * cfg = kmalloc(GFP_ATOMIC, sizeof(struct
pnp_resource_table));
+ struct pnp_resource_table * cfg = kmalloc(sizeof(struct pnp_resource_table),
GFP_KERNEL);
int err;
acard->cap = pnp_request_card_device(card, id->devs[0].id, NULL);
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog