All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel 2.2
@ 2004-01-07 22:38 Martin Langer
  2004-01-08 11:02 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Langer @ 2004-01-07 22:38 UTC (permalink / raw)
  To: alsa-devel


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-08 11:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-07 22:38 kernel 2.2 Martin Langer
2004-01-08 11:02 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.