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,
puzzleduck@gmail.com
Subject: [PATCH 4/6] USB: serial: Changes to conform with checkpatch. - space near open parenthesis '('.
Date: Sun, 13 May 2012 23:52:38 +1000 [thread overview]
Message-ID: <1336917160-27059-4-git-send-email-puzzleduck@gmail.com> (raw)
In-Reply-To: <1336917160-27059-2-git-send-email-puzzleduck@gmail.com>
Removed 2 checkpatch.sh errors.
Signed-off-by: Ben Minerds <puzzleduck@gmail.com>
---
drivers/usb/serial/keyspan.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/serial/keyspan.c b/drivers/usb/serial/keyspan.c
index 425e113..49e814c 100644
--- a/drivers/usb/serial/keyspan.c
+++ b/drivers/usb/serial/keyspan.c
@@ -569,7 +569,7 @@ static void usa28_instat_callback(struct urb *urb)
p_priv->dcd_state = ((msg->dcd) ? 1 : 0);
p_priv->ri_state = ((msg->ri) ? 1 : 0);
- if( old_dcd_state != p_priv->dcd_state && old_dcd_state) {
+ if (old_dcd_state != p_priv->dcd_state && old_dcd_state) {
tty = tty_port_tty_get(&port->port);
if (tty && !C_CLOCAL(tty))
tty_hangup(tty);
--
1.7.2.5
next prev parent reply other threads:[~2012-05-13 13:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-13 13:52 [PATCH 2/6] USB: serial: Changes to conform with checkpatch. - spaces around '?' and ':' Ben Minerds
2012-05-13 13:52 ` [PATCH 3/6] USB: serial: Changes to conform with checkpatch. - space around '=' Ben Minerds
2012-05-13 13:52 ` Ben Minerds [this message]
2012-05-13 13:52 ` [PATCH 5/6] USB: serial: Changes to conform with checkpatch. - trailing whitespace Ben Minerds
2012-05-13 13:52 ` [PATCH 6/6] USB: serial: Changes to conform with checkpatch. - parentheses not required Ben Minerds
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=1336917160-27059-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).