patch-2.1.41 linux/drivers/sound/maui.c

Next file: linux/drivers/sound/midi_synth.c
Previous file: linux/drivers/sound/lowlevel/aci.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.40/linux/drivers/sound/maui.c linux/drivers/sound/maui.c
@@ -333,7 +333,7 @@
     {
       unsigned char   data;
 
-      get_user (data, (unsigned char *) &((addr)[hdr_size + i]));
+      get_user (*(unsigned char *) &data, (unsigned char *) &((addr)[hdr_size + i]));
       if (i == 0 && !(data & 0x80))
 	return -EINVAL;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov