projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'fixallnoconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl...
[firefly-linux-kernel-4.4.55.git]
/
sound
/
core
/
pcm_compat.c
diff --git
a/sound/core/pcm_compat.c
b/sound/core/pcm_compat.c
index 5fb2e28e796f6a2766146dbdc5234a1de9a71680..91cdf9435feca986cf3be980412b7d21a9dddecd 100644
(file)
--- a/
sound/core/pcm_compat.c
+++ b/
sound/core/pcm_compat.c
@@
-342,7
+342,7
@@
static int snd_pcm_ioctl_xfern_compat(struct snd_pcm_substream *substream,
kfree(bufs);
return -EFAULT;
}
- bufs[
ch
] = compat_ptr(ptr);
+ bufs[
i
] = compat_ptr(ptr);
bufptr++;
}
if (dir == SNDRV_PCM_STREAM_PLAYBACK)