Update of /cvsroot/alsa/alsa-kernel/pci
In directory usw-pr-cvs1:/tmp/cvs-serv4592

Modified Files:
        via82xx.c 
Log Message:
fixed the allocation size of idx_table.



Index: via82xx.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/via82xx.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- via82xx.c   13 Sep 2002 11:22:46 -0000      1.7
+++ via82xx.c   19 Sep 2002 15:24:38 -0000      1.8
@@ -217,7 +217,7 @@
                        return -ENOMEM;
        }
        if (! dev->idx_table) {
-               dev->idx_table = kmalloc(sizeof(unsigned int) * VIA_TABLE_SIZE, 
GFP_KERNEL);
+               dev->idx_table = kmalloc(sizeof(*dev->idx_table) * VIA_TABLE_SIZE, 
+GFP_KERNEL);
                if (! dev->idx_table)
                        return -ENOMEM;
        }



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to