|
@@ -743,7 +743,7 @@ static long snd_compr_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
|
|
|
mutex_lock(&stream->device->lock);
|
|
|
switch (_IOC_NR(cmd)) {
|
|
|
case _IOC_NR(SNDRV_COMPRESS_IOCTL_VERSION):
|
|
|
- put_user(SNDRV_COMPRESS_VERSION,
|
|
|
+ retval = put_user(SNDRV_COMPRESS_VERSION,
|
|
|
(int __user *)arg) ? -EFAULT : 0;
|
|
|
break;
|
|
|
case _IOC_NR(SNDRV_COMPRESS_GET_CAPS):
|