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-next>] [day] [month] [year] [list]
Message-ID: <d1406d30f213cce36c8974925642fe19@mwinf5d23.me-wanadoo.net>
Date:	Sun, 30 Mar 2014 23:29:38 +0200
From:	Thomas Vegas <thomas_75@...e-mail.net>
To:	gregkh@...uxfoundation.org
Cc:	devel@...verdev.osuosl.org
Subject: [PATCH] staging: serqt_usb2: Add blank lines after declarations.

Use a more common kernel coding style.

Signed-off-by: Thomas Vegas <thomas_75@...e-mail.net>
---
 drivers/staging/serqt_usb2/serqt_usb2.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/serqt_usb2/serqt_usb2.c b/drivers/staging/serqt_usb2/serqt_usb2.c
index 0267dd8..f883f48 100644
--- a/drivers/staging/serqt_usb2/serqt_usb2.c
+++ b/drivers/staging/serqt_usb2/serqt_usb2.c
@@ -995,8 +995,8 @@ static void qt_close(struct usb_serial_port *port)
 	struct tty_struct *tty;
 	int status;
 	unsigned int index;
-	status = 0;
 
+	status = 0;
 	tty = tty_port_tty_get(&port->port);
 	index = port->port_number;
 
@@ -1268,8 +1268,8 @@ static void qt_set_termios(struct tty_struct *tty,
 	if (I_IXOFF(tty) || I_IXON(tty)) {
 		unsigned char stop_char = STOP_CHAR(tty);
 		unsigned char start_char = START_CHAR(tty);
-		status =
-		    box_set_sw_flow_ctrl(port->serial, index, stop_char,
+
+		status = box_set_sw_flow_ctrl(port->serial, index, stop_char,
 				      start_char);
 		if (status < 0)
 			dev_dbg(&port->dev,
-- 
1.8.3.2

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