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]
Date:	Sat, 20 Aug 2011 23:57:25 -0700
From:	matt mooney <mfm@...eddisk.com>
To:	Akshay Joshi <me@...hayjoshi.com>
Cc:	Greg Kroah-Hartman <gregkh@...e.de>, linux-usb@...r.kernel.org,
	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] Staging: usbip: Fix braces and spaces to match coding style.

On 15:58 Wed 17 Aug     , Akshay Joshi wrote:
> Fix brace positioning and spaces at the start of lines in order to
> comply with the kernel coding style.
> 
> Signed-off-by: Akshay Joshi <me@...hayjoshi.com>

Acked-by: matt mooney <mfm@...eddisk.com>

> ---
>  drivers/staging/usbip/stub_dev.c |    2 +-
>  drivers/staging/usbip/stub_rx.c  |    3 +--
>  2 files changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/staging/usbip/stub_dev.c b/drivers/staging/usbip/stub_dev.c
> index 1dacdc0..77d6469 100644
> --- a/drivers/staging/usbip/stub_dev.c
> +++ b/drivers/staging/usbip/stub_dev.c
> @@ -548,4 +548,4 @@ struct usb_driver stub_driver = {
>  	.id_table	= stub_table,
>  	.pre_reset	= stub_pre_reset,
>  	.post_reset	= stub_post_reset,
> - };
> +};
> diff --git a/drivers/staging/usbip/stub_rx.c b/drivers/staging/usbip/stub_rx.c
> index 1c1957f..6b4e3e1 100644
> --- a/drivers/staging/usbip/stub_rx.c
> +++ b/drivers/staging/usbip/stub_rx.c
> @@ -179,8 +179,7 @@ static int tweak_reset_device_cmd(struct urb *urb)
>  	 * longer unbinds. This allows the use of synchronous reset.
>  	 */
>  
> -	if (usb_lock_device_for_reset(sdev->udev, sdev->interface)<0)
> -	{
> +	if (usb_lock_device_for_reset(sdev->udev, sdev->interface) < 0) {
>  		dev_err(&urb->dev->dev, "could not obtain lock to reset device\n");
>  		return 0;
>  	}
> -- 
> 1.7.5.4
> 
--
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