---------------------
PatchSet 3100 
Date: 2005/04/08 08:25:23
Author: cladisch
Branch: HEAD
Tag: (none) 
Log:
Summary: virmidi - fix ioctl parameter passing when setting client name

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

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

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	Wed Apr  6 01:43:59 2005
+++ /sound/core/seq/seq_virmidi.c	Fri Apr  8 00:25:23 2005
@@ -384,7 +384,7 @@
 	info->client = client;
 	info->type = KERNEL_CLIENT;
 	sprintf(info->name, "%s %d-%d", rdev->rmidi->name, rdev->card->number, rdev->device);
-	snd_seq_kernel_client_ctl(client, SNDRV_SEQ_IOCTL_SET_CLIENT_INFO, &info);
+	snd_seq_kernel_client_ctl(client, SNDRV_SEQ_IOCTL_SET_CLIENT_INFO, info);
 
 	/* create a port */
 	memset(pinfo, 0, sizeof(*pinfo));
