From b5f87cf913e6005e3d41db01ffa6d71c292271d9 Mon Sep 17 00:00:00 2001 From: Mikhail Boiko Date: Tue, 18 Mar 2014 23:59:46 +0200 Subject: [PATCH] staging: line6: Fix coding style problem Fix style issue for eudyptula challenge Signed-off-by: Mikhail Boiko Signed-off-by: Greg Kroah-Hartman --- drivers/staging/line6/capture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/line6/capture.c b/drivers/staging/line6/capture.c index f8316b71f13d..0eda51d2e9a2 100644 --- 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) { -- 2.20.1