kernel 2.2
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 renamed from pcm_native.c~ +8 -2
@@ -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
At Wed, 7 Jan 2004 23:38:44 +0100,
Quoted 10 lines · Martin Langer
I have two warnings with 2.2. The first one is still not fixed:
pci_compat_22.c: In functionsnd_pci_compat_release_region':
pci_compat_22.c:384: warning: implicit declaration of functionrelease_mem_region'... and the second one needs this fix:
i fixed them (hopefully) now.
Takashi
-------------------------------------------------------
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