From patchwork Sun Sep 4 19:26:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Rankin X-Patchwork-Id: 1124212 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p84JQSKs030907 for ; Sun, 4 Sep 2011 19:26:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753047Ab1IDT00 (ORCPT ); Sun, 4 Sep 2011 15:26:26 -0400 Received: from nm3-vm0.bt.bullet.mail.ukl.yahoo.com ([217.146.182.230]:36866 "HELO nm3-vm0.bt.bullet.mail.ukl.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752792Ab1IDT0Z (ORCPT ); Sun, 4 Sep 2011 15:26:25 -0400 Received: from [217.146.183.197] by nm3.bt.bullet.mail.ukl.yahoo.com with NNFMP; 04 Sep 2011 19:26:24 -0000 Received: from [217.146.183.204] by tm3.bt.bullet.mail.ukl.yahoo.com with NNFMP; 04 Sep 2011 19:26:24 -0000 Received: from [127.0.0.1] by omp1002.bt.mail.ukl.yahoo.com with NNFMP; 04 Sep 2011 19:26:24 -0000 X-Yahoo-Newman-Id: 237340.8657.bm@omp1002.bt.mail.ukl.yahoo.com Received: (qmail 44730 invoked from network); 4 Sep 2011 19:26:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type; b=Sf1xn1UatxdenxhXjbTqUfuxcZYwA5TE06g9YO/aZgs2qLsBxPeVMSW5nrgKAWPWejlIzB5aFd8J39uPjbxkFjHVswVuVOymcIMyhk4z3rTcTtb17KvuO+oawV47tCm0qHwNn4C+MXHT4kEz0CgQMBTEvktnnAJ0yKXofUbiFro= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1315164384; bh=f3QV+1VpG7QZmEOAD6qJ5htb1jTRXCtBR4p97vBVajE=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type; b=dexadBkoYPaKDi/QsmW+XGxCqldA/i3qPu88lImF/pMEYxnWJkyWf11M9RlGEPZgg7HuLiXZ9kADD2ukVVANVCJ/Gyvxfg/Xx8oUgEQxmkwzZRVHS+FPTv3FVjIGMmz54oMe2DGT94I9nfumCjuuoti/c2YQbPe3hVongAmywns= X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: e1KvINwVM1nUwL240Hk07czv3_oprZ7Uq1YWol9mDa_mu9f 2IYekqnKNH4calTsJtrSoiPEJFUlLaP0L2bYbYI3_4Gc1bhA.D.gGI2hB0Ee DbnLQ2D.0UnwuSVpa2UVJGL23ZOWv.8WVdOQ73Og.ovvZLj1AGsqG0.AFCIY MLcghreQ9xO18ATu.gVnrusJ7k0mLtRf.uWt87cINcuSIqK3cqS1GzJAnxui u_vZlkikvRFePLjjjgRjDuyXdJglOLMnrxlDWHq02cRwtcaw2BlrMcKmVgnu DT8ZVe5.RClj0uuSxmyhQNDZJdZXuLtzavfrz76kE9jFHUBmnkGfHYgIbHB3 pboX0xht9Qg5EJsgxVFaUJlF79ZBsIIK_3QI_y2EQ1tLNXaqNbW_iUb1Fnr7 A4LX7NYVbo.dNvgNssj2WCssqWPio808TOxnnF9KafwSk7phHD1qO1ziVFM7 k7YYYd6jhWMsW8UcaTDBMNw-- X-Yahoo-SMTP: dMK34oyswBBlfKesWTI5ovDjFOUFE6shtILt.ZXnUEjQHhWq Received: from wellhouse.underworld (rankincj@86.183.126.7 with login) by smtp818.mail.ird.yahoo.com with SMTP; 04 Sep 2011 19:26:23 +0000 GMT Received: from volcano.underworld (volcano.underworld [192.168.0.3]) by wellhouse.underworld (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p84JQLYn012245 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 4 Sep 2011 20:26:22 +0100 Message-ID: <4E63D0DD.2050508@yahoo.com> Date: Sun, 04 Sep 2011 20:26:21 +0100 From: Chris Rankin User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20110816 Thunderbird/6.0 MIME-Version: 1.0 To: Mauro Carvalho Chehab CC: linux-media@vger.kernel.org Subject: Re: [git:v4l-dvb/for_v3.2] [media] em28xx: use atomic bit operations for devices-in-use mask References: In-Reply-To: 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.6 (demeter2.kernel.org [140.211.167.43]); Sun, 04 Sep 2011 19:26:33 +0000 (UTC) On 04/09/11 00:49, Mauro Carvalho Chehab wrote: > This is an automatic generated email to let you know that the following patch were queued at the > http://git.linuxtv.org/media_tree.git tree: > > Subject: [media] em28xx: use atomic bit operations for devices-in-use mask > Author: Chris Rankin > Date: Sat Aug 20 08:21:03 2011 -0300 > > Use atomic bit operations for the em28xx_devused mask, to prevent an > unlikely race condition should two adapters be plugged in > simultaneously. The operations also clearer than explicit bit > manipulation anyway. > > Signed-off-by: Chris Rankin > Signed-off-by: Mauro Carvalho Chehab > > drivers/media/video/em28xx/em28xx-cards.c | 33 ++++++++++++++--------------- > 1 files changed, 16 insertions(+), 17 deletions(-) Hi Mauro, I think you missed this line in the merge. Cheers, Chris --- linux/drivers/media/video/em28xx/em28xx-cards.c.orig 2011-09-04 20:17:00.000000000 +0100 +++ linux/drivers/media/video/em28xx/em28xx-cards.c 2011-09-04 20:19:21.000000000 +0100 @@ -3083,7 +3083,6 @@ em28xx_err(DRIVER_NAME " This is an anciliary " "interface not used by the driver\n"); - em28xx_devused &= ~(1<