From a2c1b0eeeef8c0c089e4dfeace2e7c260fbd4ffb Mon Sep 17 00:00:00 2001 From: Haynes Mathew George Date: Tue, 23 Jul 2013 15:20:18 -0700 Subject: [PATCH] soc: return value of get soc version ioctl Change-Id: I20e46f87997298adb08b0bab30ca82ed1c8cbc19 Signed-off-by: Haynes Mathew George Signed-off-by: Krishnankutty Kolathappilly --- sound/core/compress_offload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/core/compress_offload.c b/sound/core/compress_offload.c index 3daa4c19a7c..8daa015a878 100644 --- a/sound/core/compress_offload.c +++ b/sound/core/compress_offload.c @@ -752,7 +752,7 @@ static int snd_compress_simple_ioctls(struct file *file, 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;