From: Jim Richardson <weaselkeeper@gmail.com>
To: axboe@kernel.dk
Cc: linux-kernel@vger.kernel.org, Jim Richardson <weaselkeeper@gmail.com>
Subject: [PATCH] block:bio.c Cleanup styleguide errors reported by checkpatch.pl
Date: Thu, 17 Jul 2014 22:54:11 -0700 [thread overview]
Message-ID: <1405662851-25419-1-git-send-email-weaselkeeper@gmail.com> (raw)
3 styleguide errors cleaned up from checkpatch.pl report for block/bio.c
Signed-off-by: Jim Richardson <weaselkeeper@gmail.com>
---
block/bio.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/block/bio.c b/block/bio.c
index 0ec61c9..41707f0 100644
--- a/block/bio.c
+++ b/block/bio.c
@@ -1337,7 +1337,7 @@ static struct bio *__bio_map_user_iov(struct request_queue *q,
if (len <= 0)
break;
-
+
if (bytes > len)
bytes = len;
@@ -1374,7 +1374,7 @@ static struct bio *__bio_map_user_iov(struct request_queue *q,
out_unmap:
for (i = 0; i < nr_pages; i++) {
- if(!pages[i])
+ if (!pages[i])
break;
page_cache_release(pages[i]);
}
@@ -2025,7 +2025,7 @@ static void __init biovec_init_slabs(void)
size = bvs->nr_vecs * sizeof(struct bio_vec);
bvs->slab = kmem_cache_create(bvs->name, size, 0,
- SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL);
+ SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL);
}
}
--
2.0.1
reply other threads:[~2014-07-18 5:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1405662851-25419-1-git-send-email-weaselkeeper@gmail.com \
--to=weaselkeeper@gmail.com \
--cc=axboe@kernel.dk \
--cc=linux-kernel@vger.kernel.org \
/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®