projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5d14eb
)
V4L/DVB (11569): av7110_hw: fix compile warning
author
Alexey Klimov
<klimov.linux@gmail.com>
Sun, 19 Apr 2009 20:21:03 +0000
(17:21 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 16 Jun 2009 21:20:37 +0000
(18:20 -0300)
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/ttpci/av7110_hw.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/ttpci/av7110_hw.c
b/drivers/media/dvb/ttpci/av7110_hw.c
index 5e3f88911a1d2503c1a2dfd3e5ea8b2c8275cead..e162691b515d14d0213c59d624fbb2b95cefff7d 100644
(file)
--- a/
drivers/media/dvb/ttpci/av7110_hw.c
+++ b/
drivers/media/dvb/ttpci/av7110_hw.c
@@
-1089,7
+1089,7
@@
int av7110_osd_cmd(struct av7110 *av7110, osd_cmd_t *dc)
else {
int i, len = dc->x0-dc->color+1;
u8 __user *colors = (u8 __user *)dc->data;
- u8 r, g
, b, blend
;
+ u8 r, g
= 0, b = 0, blend = 0
;
ret = 0;
for (i = 0; i<len; i++) {
if (get_user(r, colors + i * 4) ||