---------------------
PatchSet 3092 
Date: 2005/04/06 09:43:59
Author: cladisch
Branch: HEAD
Tag: (none) 
Log:
Summary: virmidi - fix ioctl parameter passing when creating seq port

The last change to reduce stack usage did not adjust the parameter to
SNDRV_SEQ_IOCTL_CREATE_PORT which resulted in passing the address of
the pointer instead of the structure.

Members: 
	core/seq/seq_virmidi.c:1.13->1.14 

Index: /sound/core/seq/seq_virmidi.c
diff -u /sound/core/seq/seq_virmidi.c.old /sound/core/seq/seq_virmidi.c
--- /sound/core/seq/seq_virmidi.c.old	Tue Mar 22 07:31:22 2005
+++ /sound/core/seq/seq_virmidi.c	Wed Apr  6 01:43:59 2005
@@ -405,7 +405,7 @@
 	pcallbacks.unuse = snd_virmidi_unuse;
 	pcallbacks.event_input = snd_virmidi_event_input;
 	pinfo->kernel = &pcallbacks;
-	err = snd_seq_kernel_client_ctl(client, SNDRV_SEQ_IOCTL_CREATE_PORT, &pinfo);
+	err = snd_seq_kernel_client_ctl(client, SNDRV_SEQ_IOCTL_CREATE_PORT, pinfo);
 	if (err < 0) {
 		snd_seq_delete_kernel_client(client);
 		rdev->client = -1;