Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357165
b: refs/heads/master
c: cb412a8
h: refs/heads/master
i:
  357163: 53e78a8
v: v3
  • Loading branch information
Cyril Roelandt authored and Mauro Carvalho Chehab committed Dec 26, 2012
1 parent 2316299 commit 4bb3aa1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 899a179dbf5878fd01c0bd3b0e884ec526916afb
refs/heads/master: cb412a8da82233af001d13c28fc54f25a2001aef
4 changes: 4 additions & 0 deletions trunk/drivers/staging/media/solo6x10/v4l2-enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1619,6 +1619,8 @@ static int solo_s_ext_ctrls(struct file *file, void *priv,
solo_enc->osd_text[OSD_TEXT_MAX] = '\0';
if (!err)
err = solo_osd_print(solo_enc);
else
err = -EFAULT;
}
break;
default:
Expand Down Expand Up @@ -1654,6 +1656,8 @@ static int solo_g_ext_ctrls(struct file *file, void *priv,
err = copy_to_user(ctrl->string,
solo_enc->osd_text,
OSD_TEXT_MAX);
if (err)
err = -EFAULT;
}
break;
default:
Expand Down

0 comments on commit 4bb3aa1

Please sign in to comment.