From patchwork Sun Apr 19 20:21:03 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 18940 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n3JKLBET011033 for ; Sun, 19 Apr 2009 20:21:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754580AbZDSUVJ (ORCPT ); Sun, 19 Apr 2009 16:21:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755814AbZDSUVJ (ORCPT ); Sun, 19 Apr 2009 16:21:09 -0400 Received: from mail-fx0-f158.google.com ([209.85.220.158]:39198 "EHLO mail-fx0-f158.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754580AbZDSUVI (ORCPT ); Sun, 19 Apr 2009 16:21:08 -0400 Received: by fxm2 with SMTP id 2so1655284fxm.37 for ; Sun, 19 Apr 2009 13:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=7bNCjeblLrKuRQif8QfGrx/9TZBPcOMZqEhDe+J8xVI=; b=SpYl6QqIAmpuSphT8WUtMlTbRLxmQ1nzd4lK83xRSWzbPQRgYnK6Wr1Z5n1suNt8pT sqf93KY+bRC2ewYRRmDFovcDl9b9IgOPCvaIzvei7ikCIi/4zBMx2kMtxLP2Lq1Ho2+7 ffSkaeWnVsGi/saOT83i8j0/38DfbTWvJhcrA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=yALYW7Wfzl9K4oKpy5JbTQvuwiX9ZeOCngPsIq+S6Fr2pKoHpLVwcEYA8srPbSUCTa EifHFY7Lg5xdNe/zMdzBDVRHcychWy1xfiIqWPyCcgpiTqnmecBeuvSjvXiGepHEAAP3 jj0FrhN3uXbj7t1uokycR/Ogu7hJ8lapB7T0w= Received: by 10.86.36.11 with SMTP id j11mr3477004fgj.28.1240172466502; Sun, 19 Apr 2009 13:21:06 -0700 (PDT) Received: from ?192.168.1.42? (gw.zunet.ru [217.67.117.64]) by mx.google.com with ESMTPS id l12sm1319389fgb.3.2009.04.19.13.21.05 (version=SSLv3 cipher=RC4-MD5); Sun, 19 Apr 2009 13:21:06 -0700 (PDT) Subject: [patch review] av7110_hw: fix compile warning From: Alexey Klimov To: linux-media@vger.kernel.org, Mauro Carvalho Chehab Cc: Hans Verkuil Date: Mon, 20 Apr 2009 00:21:03 +0400 Message-Id: <1240172463.12537.7.camel@tux.localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org One more warning fix. Signed-off-by: Alexey Klimov 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