lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4988283A.6030300@gmail.com>
Date:	Tue, 03 Feb 2009 09:19:22 -0200
From:	Manuel Naranjo <naranjo.manuel@...il.com>
To:	Dave Young <hidave.darkstar@...il.com>
CC:	wgreathouse@...a.com, linux-usb@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] usb-serial: fix the aircable_init failure path

Acked-by: Naranjo Manuel Francisco <naranjo.manuel@...il.com>
> The failure path of aircable_init is wrong, fix the order of (goto) labels.
>
> Signed-off-by: Dave Young <hidave.darkstar@...il.com>
> ---
> drivers/usb/serial/aircable.c |    4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff -uprN a/drivers/usb/serial/aircable.c b/drivers/usb/serial/aircable.c
> --- a/drivers/usb/serial/aircable.c	2009-02-01 13:12:35.000000000 +0800
> +++ b/drivers/usb/serial/aircable.c	2009-02-01 13:26:28.000000000 +0800
> @@ -621,9 +621,9 @@ static int __init aircable_init(void)
>  		goto failed_usb_register;
>  	return 0;
>  
> -failed_serial_register:
> -	usb_serial_deregister(&aircable_device);
>  failed_usb_register:
> +	usb_serial_deregister(&aircable_device);
> +failed_serial_register:
>  	return retval;
>  }
>  
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>   

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

Powered by Openwall GNU/*/Linux Powered by OpenVZ