diff options
author | Alexey Klimov <klimov.linux@gmail.com> | 2009-04-19 16:21:03 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 17:20:37 -0400 |
commit | 3763a8a41bd0c1ea6b055b60acaf5f9655e5c25e (patch) | |
tree | 91c4b0be416987cf1995709fec62e76361d2ab60 | |
parent | b5d14eba2ecce23a6a1663bc5bd36c08a011b601 (diff) |
V4L/DVB (11569): av7110_hw: fix compile warning
Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/dvb/ttpci/av7110_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/ttpci/av7110_hw.c b/drivers/media/dvb/ttpci/av7110_hw.c index 5e3f88911a1d..e162691b515d 100644 --- 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) | |||
1089 | else { | 1089 | else { |
1090 | int i, len = dc->x0-dc->color+1; | 1090 | int i, len = dc->x0-dc->color+1; |
1091 | u8 __user *colors = (u8 __user *)dc->data; | 1091 | u8 __user *colors = (u8 __user *)dc->data; |
1092 | u8 r, g, b, blend; | 1092 | u8 r, g = 0, b = 0, blend = 0; |
1093 | ret = 0; | 1093 | ret = 0; |
1094 | for (i = 0; i<len; i++) { | 1094 | for (i = 0; i<len; i++) { |
1095 | if (get_user(r, colors + i * 4) || | 1095 | if (get_user(r, colors + i * 4) || |