I have two warnings with 2.2. The first one is still not fixed:

pci_compat_22.c: In function snd_pci_compat_release_region':
pci_compat_22.c:384: warning: implicit declaration of function
release_mem_region'


... and the second one needs this fix:


--- pcm_native.c~       Thu Jan  1 22:06:44 2004
+++ pcm_native.c        Wed Jan  7 23:27:20 2004
@@ -2901,8 +2901,14 @@
        if (size != PAGE_ALIGN(sizeof(snd_pcm_mmap_status_t)))
                return -EINVAL;
        area->vm_ops = &snd_pcm_vm_ops_status;
-       area->vm_private_data = substream;
-       area->vm_flags |= VM_RESERVED;
+#ifndef LINUX_2_2
+        area->vm_private_data = substream;
+#else
+        area->vm_private_data = (long)substream;
+#endif
+#ifdef VM_RESERVED
+        area->vm_flags |= VM_RESERVED;
+#endif
        return 0;
 }
 


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to