aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/goldfish/goldfish_audio.c
diff options
context:
space:
mode:
authorGarret Kelly <garret.kelly@gmail.com>2014-04-06 23:47:31 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-04-16 20:14:33 -0700
commitef323812c9cfd5837afab13dde846bf208eb4cc3 (patch)
treeaa1042687d3efa6fb3d81d2a9095ba95d728ad39 /drivers/staging/goldfish/goldfish_audio.c
parent67c20cfbce53cf6df28681939d9a9621d2a85dfc (diff)
staging: goldfish: Fix missing blank lines
Fix two instances of the following checkpatch warning: WARNING: Missing a blank line after declarations Signed-off-by: Garret Kelly <garret.kelly@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/goldfish/goldfish_audio.c')
-rw-r--r--drivers/staging/goldfish/goldfish_audio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/goldfish/goldfish_audio.c b/drivers/staging/goldfish/goldfish_audio.c
index f96dcec740ae..aca980ec3696 100644
--- a/drivers/staging/goldfish/goldfish_audio.c
+++ b/drivers/staging/goldfish/goldfish_audio.c
@@ -147,6 +147,7 @@ static ssize_t goldfish_audio_write(struct file *fp, const char __user *buf,
while (count > 0) {
ssize_t copy = count;
+
if (copy > WRITE_BUFFER_SIZE)
copy = WRITE_BUFFER_SIZE;
wait_event_interruptible(data->wait, (data->buffer_status &

Privacy Policy