X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Fdrivers%2Fopl3%2Fopl3_oss.c;h=d3193b03ec24e6eaf5b1ab6c9e3badcba688c45c;hb=da7238bfbc1c5267bb3c9a79e03b6c296839a07e;hp=5504605adc74201858c89fdf2831dbf9ad2c72cc;hpb=86090fcac5e27b630656fe3d963a6b80e26dac44;p=linux-2.6.git diff --git a/sound/drivers/opl3/opl3_oss.c b/sound/drivers/opl3/opl3_oss.c index 5504605ad..d3193b03e 100644 --- a/sound/drivers/opl3/opl3_oss.c +++ b/sound/drivers/opl3/opl3_oss.c @@ -24,7 +24,7 @@ static int snd_opl3_open_seq_oss(snd_seq_oss_arg_t *arg, void *closure); static int snd_opl3_close_seq_oss(snd_seq_oss_arg_t *arg); static int snd_opl3_ioctl_seq_oss(snd_seq_oss_arg_t *arg, unsigned int cmd, unsigned long ioarg); -static int snd_opl3_load_patch_seq_oss(snd_seq_oss_arg_t *arg, int format, const char *buf, int offs, int count); +static int snd_opl3_load_patch_seq_oss(snd_seq_oss_arg_t *arg, int format, const char __user *buf, int offs, int count); static int snd_opl3_reset_seq_oss(snd_seq_oss_arg_t *arg); /* */ @@ -207,7 +207,7 @@ static int snd_opl3_close_seq_oss(snd_seq_oss_arg_t *arg) #define SBFM_MAXINSTR 256 static int snd_opl3_load_patch_seq_oss(snd_seq_oss_arg_t *arg, int format, - const char *buf, int offs, int count) + const char __user *buf, int offs, int count) { opl3_t *opl3; int err = -EINVAL;