Linux Media Controller development
 help / color / mirror / Atom feed
From: Dan Carpenter <error27@gmail.com>
To: linux-media@vger.kernel.org
Cc: mmcclell@bigfoot.com, mchehab@infradead.org
Subject: [patch] ov511.c typo:  lock => unlock
Date: Sun, 29 Nov 2009 18:42:19 +0200	[thread overview]
Message-ID: <20091129164219.GQ10640@bicker> (raw)

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 <error27@gmail.com>

--- 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;
 

                 reply	other threads:[~2009-11-29 16:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091129164219.GQ10640@bicker \
    --to=error27@gmail.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=mmcclell@bigfoot.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox