Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757866Ab0LNVsy (ORCPT ); Tue, 14 Dec 2010 16:48:54 -0500 Received: from ifup.org ([198.145.64.140]:35767 "EHLO ifup.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753573Ab0LNVsw (ORCPT ); Tue, 14 Dec 2010 16:48:52 -0500 Date: Tue, 14 Dec 2010 13:43:06 -0800 From: Brandon Philips To: Torsten Kaiser , Mauro Carvalho Chehab , Dave Young Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Guennadi Liakhovetski , Chris Clayton Subject: Re: [PATCH] bttv: fix mutex use before init Message-ID: <20101214214306.GC5900@hanuman.home.ifup.org> References: <20101212131550.GA2608@darkstar> <20101214003024.GA3575@hanuman.home.ifup.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1169 Lines: 32 On 21:56 Tue 14 Dec 2010, Torsten Kaiser wrote: > On Tue, Dec 14, 2010 at 1:30 AM, Brandon Philips wrote: > > On 17:13 Sun 12 Dec 2010, Torsten Kaiser wrote: > >> ?* change &fh->cap.vb_lock in bttv_open() AND radio_open() to > >> &btv->init.cap.vb_lock > >> ?* add a mutex_init(&btv->init.cap.vb_lock) to the setup of init in bttv_probe() > > > > That seems like a reasonable suggestion. An openSUSE user submitted this > > bug to our tracker too. Here is the patch I am having him test. > > > > Would you mind testing it? > > No. :-) > > Without this patch (==vanilla 2.6.37-rc5) I got 2 more OOPSe by > restarting hal around 20 times. > After applying this patch, I did not see a single OOPS after 100 restarts. > So it looks like the fix is correct. Dave, Torsten- Great thanks for testing, can I get both you and Dave's Tested-by then? Mauro- can you please pick up this patch? Cheers, Brandon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/