lkml.org 
[lkml]   [2010]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[28/39] V4L/DVB (13596): ov511.c typo: lock => unlock
    2.6.31-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Dan Carpenter <error27@gmail.com>

    commit 50e9d31183ed61c787b870cb3ee8f6c3db8c8a1e upstream.

    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()

    Signed-off-by: Dan Carpenter <error27@gmail.com>
    Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
    Cc: Brandon Philips <brandon@ifup.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/media/video/ov511.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/media/video/ov511.c
    +++ b/drivers/media/video/ov511.c
    @@ -5878,7 +5878,7 @@ ov51x_probe(struct usb_interface *intf,
    goto error;
    }

    - mutex_lock(&ov->lock);
    + mutex_unlock(&ov->lock);

    return 0;




    \
     
     \ /
      Last update: 2010-01-05 21:13    [W:0.020 / U:120.096 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site