Update of /cvsroot/alsa/alsa-kernel/core
In directory usw-pr-cvs1:/tmp/cvs-serv13162a

Modified Files:
        pcm_native.c 
Log Message:
Compilation fixes when CONFIG_PROC_FS is not defined

Index: pcm_native.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/pcm_native.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- pcm_native.c        13 Oct 2002 13:07:19 -0000      1.32
+++ pcm_native.c        13 Oct 2002 19:18:36 -0000      1.33
@@ -2359,7 +2359,7 @@
        snd_pcm_runtime_t *runtime;
        snd_pcm_sframes_t result;
        unsigned long i;
-       void *bufs;
+       void **bufs;
        snd_pcm_uframes_t frames;
 
        pcm_file = snd_magic_cast(snd_pcm_file_t, file->private_data, return -ENXIO);
@@ -2393,7 +2393,7 @@
        snd_pcm_runtime_t *runtime;
        snd_pcm_sframes_t result;
        unsigned long i;
-       void *bufs;
+       void **bufs;
        snd_pcm_uframes_t frames;
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 3, 0)
@@ -2413,7 +2413,7 @@
                goto end;
        }
        frames = bytes_to_samples(runtime, _vector->iov_len);
-       bufs = kcalloc(sizeof(void *) * count, GFP_KERNEL);
+       bufs = kmalloc(sizeof(void *) * count, GFP_KERNEL);
        if (bufs == NULL)
                return -ENOMEM;
        for (i = 0; i < count; ++i)



-------------------------------------------------------
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