From patchwork Sun Nov 29 16:42:19 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 2215 Return-path: Envelope-to: mchehab@infradead.org Delivery-date: Sun, 29 Nov 2009 16:42:22 +0000 Received: from bombadil.infradead.org [18.85.46.34] by pedra with IMAP (fetchmail-6.3.6) for (single-drop); Sun, 29 Nov 2009 14:44:24 -0200 (BRST) Received: from vger.kernel.org ([209.132.176.167]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1NEmqr-0003qk-MG; Sun, 29 Nov 2009 16:42:21 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752060AbZK2QmO (ORCPT + 1 other); Sun, 29 Nov 2009 11:42:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752010AbZK2QmO (ORCPT ); Sun, 29 Nov 2009 11:42:14 -0500 Received: from mail-ew0-f215.google.com ([209.85.219.215]:37251 "EHLO mail-ew0-f215.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751867AbZK2QmN (ORCPT ); Sun, 29 Nov 2009 11:42:13 -0500 Received: by ewy7 with SMTP id 7so3563503ewy.28 for ; Sun, 29 Nov 2009 08:42:19 -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:mime-version:content-type:content-disposition:user-agent; bh=xHuDJWH872EMX2rFayvWLjP+rAuEfkKKPyckFmYJ0/U=; b=e6WNFEUMXchEmDcCxEkLmIgm60wwHOi/CPUxx32ZOUJoKDjbCveE6EeFwk1CCMs+NM Gvoibd/sXcz9ffItq8d2SiLKLu0ErIZN1DtBaWCLzn8tfe2R3IE5k2jn7EbuH0y6DcxK tBGA3ho1tY4E0lsbCTA6PYd4dJS+spRNkG5Jc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=WwG2qcKI1pWGLRZjNv+7w1xnQKqpmY00UqrbMTqNoEfya80hH6FV7ioUHWtm95xY4i 8SgpR9xyblDzbZSLXpjiGy6YAoo/NZ/BttY6n+3EOIKrjytsUpO1XS7HGXVS58ywe7BF 8eEiNDm5a7SF1uOcR+aSgqVpkvMCC0wFPPaTc= Received: by 10.213.24.25 with SMTP id t25mr3854140ebb.98.1259512939110; Sun, 29 Nov 2009 08:42:19 -0800 (PST) Received: from bicker ([41.222.20.196]) by mx.google.com with ESMTPS id 14sm2127667ewy.3.2009.11.29.08.42.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 29 Nov 2009 08:42:17 -0800 (PST) Date: Sun, 29 Nov 2009 18:42:19 +0200 From: Dan Carpenter To: linux-media@vger.kernel.org Cc: mmcclell@bigfoot.com, mchehab@infradead.org Subject: [patch] ov511.c typo: lock => unlock Message-ID: <20091129164219.GQ10640@bicker> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org This was found with a static checker and has not been tested, but it seems pretty clear that the mutex_lock() was supposed to be mutex_unlock() This is a 2.6.32 candidate. Signed-off-by: Dan Carpenter --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- orig/drivers/media/video/ov511.c 2009-11-29 14:44:46.000000000 +0200 +++ devel/drivers/media/video/ov511.c 2009-11-29 14:44:57.000000000 +0200 @@ -5878,7 +5878,7 @@ ov51x_probe(struct usb_interface *intf, goto error; } - mutex_lock(&ov->lock); + mutex_unlock(&ov->lock); return 0;