[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 6 Jun 2012 20:52:57 +0200
From: Oliver Neukum <oliver@...kum.org>
To: stefani@...bold.net
Cc: linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
alan@...rguk.ukuu.org.uk, linux-usb@...r.kernel.org
Subject: Re: [PATCH 01/11] fix wrong label in skel_open
Am Mittwoch, 6. Juni 2012, 18:27:02 schrieb stefani@...bold.net:
> From: Stefani Seibold <stefani@...bold.net>
Thank you for putting the effort to even split this up.
It makes it much easier to review.
> Signed-off-by: Stefani Seibold <stefani@...bold.net>
> ---
> drivers/usb/usb-skeleton.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/usb/usb-skeleton.c b/drivers/usb/usb-skeleton.c
> index 0616f23..a57f1d2 100644
> --- a/drivers/usb/usb-skeleton.c
> +++ b/drivers/usb/usb-skeleton.c
> @@ -114,7 +114,7 @@ static int skel_open(struct inode *inode, struct file *file)
>
> retval = usb_autopm_get_interface(interface);
> if (retval)
> - goto out_err;
> + goto exit;
Are you removing io_mutex? If not, the correct fix is a second label
to drop the lock, not changing the label.
Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists