All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Minerds <puzzleduck@gmail.com>
To: alan@lxorguk.ukuu.org.uk
Cc: gregkh@linuxfoundation.org, richard.weinberger@gmail.com,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	Ben Minerds <puzzleduck@gmail.com>
Subject: [PATCH 03/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs.
Date: Thu, 10 May 2012 19:17:09 +1000	[thread overview]
Message-ID: <1336641447-23194-4-git-send-email-puzzleduck@gmail.com> (raw)
In-Reply-To: <1336641447-23194-1-git-send-email-puzzleduck@gmail.com>

Removed 6 checkpatch.sh warnings.

Signed-off-by: Ben Minerds <puzzleduck@gmail.com>
---
 drivers/usb/serial/keyspan.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c
index 7cbc485..9dfd154 100644
--- a/drivers/usb/serial/keyspan.c
+++ b/drivers/usb/serial/keyspan.c
@@ -227,12 +227,12 @@ static int keyspan_tiocmset(struct tty_struct *tty,
 static int keyspan_write(struct tty_struct *tty,
 	struct usb_serial_port *port, const unsigned char *buf, int count)
 {
-	struct keyspan_port_private 	*p_priv;
+	struct keyspan_port_private	*p_priv;
 	const struct keyspan_device_details	*d_details;
 	int				flip;
-	int 				left, todo;
+	int				left, todo;
 	struct urb			*this_urb;
-	int 				err, maxDataLen, dataOffset;
+	int				err, maxDataLen, dataOffset;
 
 	p_priv = usb_get_serial_port_data(port);
 	d_details = p_priv->device_details;
@@ -303,7 +303,7 @@ static void	usa26_indat_callback(struct urb *urb)
 	int			endpoint;
 	struct usb_serial_port	*port;
 	struct tty_struct	*tty;
-	unsigned char 		*data = urb->transfer_buffer;
+	unsigned char		*data = urb->transfer_buffer;
 	int status = urb->status;
 
 	dbg("%s", __func__);
@@ -390,11 +390,11 @@ static void	usa26_outcont_callback(struct urb *urb)
 
 static void	usa26_instat_callback(struct urb *urb)
 {
-	unsigned char 				*data = urb->transfer_buffer;
+	unsigned char				*data = urb->transfer_buffer;
 	struct keyspan_usa26_portStatusMessage	*msg;
 	struct usb_serial			*serial;
 	struct usb_serial_port			*port;
-	struct keyspan_port_private	 	*p_priv;
+	struct keyspan_port_private		*p_priv;
 	struct tty_struct			*tty;
 	int old_dcd_state, err;
 	int status = urb->status;
-- 
1.7.2.5


  parent reply	other threads:[~2012-05-10  9:24 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-10  9:17 [PATCH 00/21] USB: serial: Changes to conform with checkpatch.sh script Ben Minerds
2012-05-10  9:17 ` [PATCH 01/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs Ben Minerds
2012-05-10 10:42   ` Sergei Shtylyov
2012-05-10 13:59     ` Greg KH
2012-05-10  9:17 ` [PATCH 02/21] USB: serial: Changes to conform with checkpatch.sh script. spaces required around '?' and ':' Ben Minerds
2012-05-10 10:46   ` Sergei Shtylyov
2012-05-10  9:17 ` Ben Minerds [this message]
2012-05-10  9:17 ` [PATCH 04/21] USB: serial: Changes to conform with checkpatch.sh script. spaces required around '=' Ben Minerds
2012-05-10  9:17 ` [PATCH 05/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs Ben Minerds
2012-05-10  9:17 ` [PATCH 06/21] USB: serial: Changes to conform with checkpatch.sh script. white space around '(' Ben Minerds
2012-05-10  9:17 ` [PATCH 07/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs Ben Minerds
2012-05-10  9:17 ` [PATCH 08/21] " Ben Minerds
2012-05-10  9:17 ` [PATCH 09/21] USB: serial: Changes to conform with checkpatch.sh script. spaces required around '?' and ':' Ben Minerds
2012-05-10  9:17 ` [PATCH 10/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs Ben Minerds
2012-05-10  9:17 ` [PATCH 11/21] USB: serial: Changes to conform with checkpatch.sh script. parentheses not required Ben Minerds
2012-05-10  9:17 ` [PATCH 12/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs Ben Minerds
2012-05-10  9:17 ` [PATCH 13/21] USB: serial: Changes to conform with checkpatch.sh script. spaces required around '?' and ':' Ben Minerds
2012-05-10  9:17 ` [PATCH 14/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs Ben Minerds
2012-05-10  9:17 ` [PATCH 15/21] USB: serial: Changes to conform with checkpatch.sh script. spaces required around '?' and ':' Ben Minerds
2012-05-10  9:17 ` [PATCH 16/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs Ben Minerds
2012-05-10  9:17 ` [PATCH 17/21] " Ben Minerds
2012-05-10  9:17 ` [PATCH 18/21] USB: serial: Changes to conform with checkpatch.sh script. spaces required around '?' and ':' Ben Minerds
2012-05-10  9:17 ` [PATCH 19/21] USB: serial: Changes to conform with checkpatch.sh script. spaces required around '?' Ben Minerds
2012-05-10  9:17 ` [PATCH 20/21] USB: serial: Changes to conform with checkpatch.sh script. space before tabs Ben Minerds
2012-05-10  9:17 ` [PATCH 21/21] USB: serial: Changes to conform with checkpatch.sh script. trailing whitespace Ben Minerds
2012-05-10  9:51 ` [PATCH 00/21] USB: serial: Changes to conform with checkpatch.sh script Arend van Spriel
2012-05-10 11:02 ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1336641447-23194-4-git-send-email-puzzleduck@gmail.com \
    --to=puzzleduck@gmail.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=richard.weinberger@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.