projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
431cd0e
)
staging: line6: Fix coding style problem
author
Mikhail Boiko
<mm.boiko@yandex.ru>
Tue, 18 Mar 2014 21:59:46 +0000
(23:59 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 18 Mar 2014 23:11:15 +0000
(16:11 -0700)
Fix style issue for eudyptula challenge
Signed-off-by: Mikhail Boiko <mm.boiko@yandex.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/line6/capture.c
patch
|
blob
|
history
diff --git
a/drivers/staging/line6/capture.c
b/drivers/staging/line6/capture.c
index f8316b71f13d458b9706a9a870a78e3aae6250ab..0eda51d2e9a2722d033184e05fb6f2dbdb197c8d 100644
(file)
--- a/
drivers/staging/line6/capture.c
+++ b/
drivers/staging/line6/capture.c
@@
-157,6
+157,7
@@
void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf, int fsize)
copy two separate chunks.
*/
int len;
+
len = runtime->buffer_size - line6pcm->pos_in_done;
if (len > 0) {