All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch review] av7110_hw: fix compile warning
@ 2009-04-19 20:21 Alexey Klimov
  0 siblings, 0 replies; only message in thread
From: Alexey Klimov @ 2009-04-19 20:21 UTC (permalink / raw)
  To: linux-media, Mauro Carvalho Chehab; +Cc: Hans Verkuil

One more warning fix.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
--
diff -r cda79523a93c linux/drivers/media/dvb/ttpci/av7110_hw.c
--- a/linux/drivers/media/dvb/ttpci/av7110_hw.c	Thu Apr 16 18:30:38 2009 +0200
+++ b/linux/drivers/media/dvb/ttpci/av7110_hw.c	Mon Apr 20 00:17:51 2009 +0400
@@ -1089,7 +1089,7 @@
 		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) ||



-- 
Best regards, Klimov Alexey


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-19 20:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-19 20:21 [patch review] av7110_hw: fix compile warning Alexey Klimov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.