From patchwork Sun Dec 12 08:45:05 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Young X-Patchwork-Id: 400412 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBC8jmHK019091 for ; Sun, 12 Dec 2010 08:45:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751500Ab0LLIpS (ORCPT ); Sun, 12 Dec 2010 03:45:18 -0500 Received: from mail-px0-f179.google.com ([209.85.212.179]:63900 "EHLO mail-px0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751420Ab0LLIpQ (ORCPT ); Sun, 12 Dec 2010 03:45:16 -0500 Received: by pxi20 with SMTP id 20so1397621pxi.10 for ; Sun, 12 Dec 2010 00:45:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=EE5xFSVmiE5uZ8OemFY0BvN8Dk6DIALxBzrL1cdMxJw=; b=gGDqo4WDxhKd79CYlasrwKHXSa1x9bZz7sUwmPZO5Chqx6qy5tvzddKkgO+XawYznj FWWn2WIc+rLvBN1ysx9bALI1KGvaQgmWj7+rjvPxeScs3d02AqByvxnRIE2SagmU+bqI W+pu7HmTYSJHPnzgAtcZBu9a7ImIRSQBc2xYo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=GLmi02s9XZHvMgXDtAbcWn0n6Ia6dB/gBqD8aWuwOjIqySqvCLo3KHMTnSdvbLXglz Piq3XL/R4rODELAzIcilA2zyCmPYgtYQGQ03Ei7WGIMU0Ftq6k6r/5gRWALVwFPd4N/k eJHYNpjdzHmDmjRgCow2UsYHUlmPpmf5InGBs= Received: by 10.142.179.7 with SMTP id b7mr2104383wff.147.1292143515185; Sun, 12 Dec 2010 00:45:15 -0800 (PST) Received: from darkstar ([123.115.193.188]) by mx.google.com with ESMTPS id w22sm6981575wfd.7.2010.12.12.00.45.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 12 Dec 2010 00:45:14 -0800 (PST) Date: Sun, 12 Dec 2010 16:45:05 +0800 From: Dave Young To: Chris Clayton Cc: LKML , Guennadi Liakhovetski , linux-media@vger.kernel.org Subject: Re: Oops in 2.6.37-rc{3,4,5} Message-ID: <20101212084504.GA27059@darkstar> References: <201012102234.06446.chris2553@googlemail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201012102234.06446.chris2553@googlemail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Sun, 12 Dec 2010 08:45:49 +0000 (UTC) --- linux-2.6.orig/drivers/media/video/bt8xx/bttv-driver.c 2010-11-27 11:21:30.000000000 +0800 +++ linux-2.6/drivers/media/video/bt8xx/bttv-driver.c 2010-12-12 16:31:39.633333338 +0800 @@ -3291,6 +3291,8 @@ static int bttv_open(struct file *file) fh = kmalloc(sizeof(*fh), GFP_KERNEL); if (unlikely(!fh)) return -ENOMEM; + + mutex_init(&fh->cap.vb_lock); file->private_data = fh; /*