From: Mike Rapoport <mike.rapoport@gmail.com>
To: Greg Kroah-Hartman <greg@kroah.com>
Cc: Mike Rapoport <mike.rapoport@gmail.com>,
Andreas Dilger <andreas.dilger@intel.com>,
Oleg Drokin <oleg.drokin@intel.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH 2/5] staging: lustre: fix CODE_INDENT checkpatch.pl errors
Date: Sat, 22 Aug 2015 17:17:20 +0300 [thread overview]
Message-ID: <1440253043-5868-3-git-send-email-mike.rapoport@gmail.com> (raw)
In-Reply-To: <1440253043-5868-1-git-send-email-mike.rapoport@gmail.com>
Fix occurencies of the following checkpatch.pl error:
ERROR: code indent should use tabs where possible
Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
---
drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c | 2 +-
drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c
index 4f9c5c8..d0c79d1 100644
--- a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c
+++ b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c
@@ -626,7 +626,7 @@ ksocknal_find_conn_locked(ksock_peer_t *peer, ksock_tx_t *tx, int nonblk)
list_for_each (tmp, &peer->ksnp_conns) {
ksock_conn_t *c = list_entry(tmp, ksock_conn_t, ksnc_list);
int nob = atomic_read(&c->ksnc_tx_nob) +
- c->ksnc_sock->sk->sk_wmem_queued;
+ c->ksnc_sock->sk->sk_wmem_queued;
int rc;
LASSERT(!c->ksnc_closing);
diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c
index 3407061..679785b 100644
--- a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c
+++ b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c
@@ -355,9 +355,9 @@ ksocknal_lib_recv_kiov(ksock_conn_t *conn)
LASSERT(i < niov);
/* Dang! have to kmap again because I have nowhere to
- * stash the mapped address. But by doing it while the
- * page is still mapped, the kernel just bumps the map
- * count and returns me the address it stashed. */
+ * stash the mapped address. But by doing it while the
+ * page is still mapped, the kernel just bumps the map
+ * count and returns me the address it stashed. */
base = kmap(kiov[i].kiov_page) + kiov[i].kiov_offset;
fragnob = kiov[i].kiov_len;
if (fragnob > sum)
--
2.1.0
next prev parent reply other threads:[~2015-08-22 14:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-22 14:17 [PATCH 0/5] staging: lustre: fix some trivial checpatck.pl errors Mike Rapoport
2015-08-22 14:17 ` [PATCH 1/5] staging: lustre: fix whitespace errors reported by checkpatch.pl Mike Rapoport
2015-09-03 0:48 ` Greg Kroah-Hartman
2015-09-03 5:22 ` Mike Rapoport
2015-09-03 5:37 ` Greg Kroah-Hartman
2015-09-03 8:49 ` [PATCH] " Mike Rapoport
2015-08-22 14:17 ` Mike Rapoport [this message]
2015-08-22 14:17 ` [PATCH 3/5] staging: lustre: fix GLOBAL_INITIALISERS checkpatch.pl errors Mike Rapoport
2015-08-22 14:17 ` [PATCH 4/5] staging: lustre: fix SWITCH_CASE_INDENT_LEVEL " Mike Rapoport
2015-08-22 14:17 ` [PATCH 5/5] staging: lustre: fix OPEN_BRACE " Mike Rapoport
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=1440253043-5868-3-git-send-email-mike.rapoport@gmail.com \
--to=mike.rapoport@gmail.com \
--cc=andreas.dilger@intel.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg.drokin@intel.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
all inboxes | Powered by JetHome®