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] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 01 Sep 2011 16:53:39 +0400
From:	Sergei Shtylyov <sshtylyov@...sta.com>
To:	Shaun Kluzek <g0del@...pond.com>
CC:	gregkh@...e.de, linux-usb@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] USB GADGET: u_serial.c: fixed a brace and whitespace
 coding style issue

Hello.

On 31-08-2011 11:22, Shaun Kluzek wrote:

> Signed-off-by: Shaun Kluzek<g0del@...pond.com>
> ---
>   drivers/usb/gadget/u_serial.c |    5 +----
>   1 files changed, 1 insertions(+), 4 deletions(-)

> diff --git a/drivers/usb/gadget/u_serial.c b/drivers/usb/gadget/u_serial.c
> index a8aa469..b86022f 100644
> --- a/drivers/usb/gadget/u_serial.c
> +++ b/drivers/usb/gadget/u_serial.c
> @@ -552,11 +552,8 @@ recycle:
>   	/* Push from tty to ldisc; without low_latency set this is handled by
>   	 * a workqueue, so we won't get callbacks and can hold port_lock
>   	 */
> -	if (tty && do_push) {
> +	if (tty && do_push)
>   		tty_flip_buffer_push(tty);
> -	}
> -

    What's wrong with the first empty line here?

> -
>   	/* We want our data queue to become empty ASAP, keeping data
>   	 * in the tty and ldisc (not here).  If we couldn't push any
>   	 * this time around, there may be trouble unless there's an

WBR, Sergei
--
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