From patchwork Sat Oct 3 15:04:11 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Ceuleers X-Patchwork-Id: 51537 X-Patchwork-Delegate: dougsland@redhat.com 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 n93F7NcR011020 for ; Sat, 3 Oct 2009 15:07:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753891AbZJCPGf (ORCPT ); Sat, 3 Oct 2009 11:06:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754650AbZJCPGe (ORCPT ); Sat, 3 Oct 2009 11:06:34 -0400 Received: from mailrelay003.isp.belgacom.be ([195.238.6.53]:15335 "EHLO mailrelay003.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752297AbZJCPGe (ORCPT ); Sat, 3 Oct 2009 11:06:34 -0400 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsAEABUEx0pR8xqU/2dsb2JhbACBUdBUhCoE Received: from 148.26-243-81.adsl-dyn.isp.belgacom.be (HELO via.xperim.be) ([81.243.26.148]) by relay.skynet.be with ESMTP; 03 Oct 2009 17:05:57 +0200 Received: from [192.168.1.4] (athloroad.xperim.be [192.168.1.4]) (authenticated bits=0) by via.xperim.be (8.14.2/8.14.2/Debian-2build1) with ESMTP id n93F4Bde014192 for ; Sat, 3 Oct 2009 17:04:13 +0200 Received: from 127.0.0.1 (AVG SMTP 8.5.409 [270.14.3/2409]); Sat, 03 Oct 2009 17:04:11 +0200 Message-ID: <4AC767EB.7070006@computer.org> Date: Sat, 03 Oct 2009 17:04:11 +0200 From: Jan Ceuleers User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: linux-media@vger.kernel.org Subject: [PATCH] drivers/media/dvb/dvb-usb: memset region size error Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff --git a/drivers/media/dvb/dvb-usb/ce6230.c b/drivers/media/dvb/dvb-usb/ce6230.c index 0737c63..3df2045 100644 --- a/drivers/media/dvb/dvb-usb/ce6230.c +++ b/drivers/media/dvb/dvb-usb/ce6230.c @@ -105,7 +105,7 @@ static int ce6230_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[], int i = 0; struct req_t req; int ret = 0; - memset(&req, 0, sizeof(&req)); + memset(&req, 0, sizeof(req)); if (num > 2) return -EINVAL;