From patchwork Sat Oct 3 14:50: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: 51533 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 n93EunC8009703 for ; Sat, 3 Oct 2009 14:56:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752683AbZJCOvf (ORCPT ); Sat, 3 Oct 2009 10:51:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752608AbZJCOvf (ORCPT ); Sat, 3 Oct 2009 10:51:35 -0400 Received: from mailrelay003.isp.belgacom.be ([195.238.6.53]:34941 "EHLO mailrelay003.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752028AbZJCOve (ORCPT ); Sat, 3 Oct 2009 10:51:34 -0400 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsAEALMBx0pR8xqU/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 16:50: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 n93EoBks013693; Sat, 3 Oct 2009 16:50:13 +0200 Received: from 127.0.0.1 (AVG SMTP 8.5.409 [270.14.3/2409]); Sat, 03 Oct 2009 16:50:11 +0200 Message-ID: <4AC764A3.9000708@computer.org> Date: Sat, 03 Oct 2009 16:50:11 +0200 From: Jan Ceuleers User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Michael Hunold CC: linux-media@vger.kernel.org Subject: [PATCH] drivers/media/video/saa7164: 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/video/saa7164/saa7164-cmd.c b/drivers/media/video/saa7164/saa7164-cmd.c index c45966e..9c1d3ac 100644 --- a/drivers/media/video/saa7164/saa7164-cmd.c +++ b/drivers/media/video/saa7164/saa7164-cmd.c @@ -347,7 +347,7 @@ int saa7164_cmd_send(struct saa7164_dev *dev, u8 id, tmComResCmd_t command, /* Prepare some basic command/response structures */ memset(&command_t, 0, sizeof(command_t)); - memset(&response_t, 0, sizeof(&response_t)); + memset(&response_t, 0, sizeof(response_t)); pcommand_t = &command_t; presponse_t = &response_t; command_t.id = id;