* [PATCH] block: Add blank line after variable declarations
@ 2015-03-26 0:05 Helen Fornazier
2015-03-26 9:38 ` [Outreachy kernel] " Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Helen Fornazier @ 2015-03-26 0:05 UTC (permalink / raw)
To: outreachy-kernel; +Cc: Helen Fornazier
This patch fixes the checkpatch.pl warning:
WARNING: Missing a blank line after declarations
Signed-off-by: Helen Fornazier <helen.fornazier@gmail.com>
---
block/bio.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/block/bio.c b/block/bio.c
index 7495017..84f55b9 100644
--- a/block/bio.c
+++ b/block/bio.c
@@ -507,6 +507,7 @@ void zero_fill_bio(struct bio *bio)
bio_for_each_segment(bv, bio, iter) {
char *data = bvec_kmap_irq(&bv, &flags);
+
memset(data, 0, bv.bv_len);
flush_dcache_page(bv.bv_page);
bvec_kunmap_irq(data, &flags);
@@ -726,6 +727,7 @@ static int __bio_add_page(struct request_queue *q, struct bio *bio, struct page
if (page == prev->bv_page &&
offset == prev->bv_offset + prev->bv_len) {
unsigned int prev_bv_len = prev->bv_len;
+
prev->bv_len += len;
if (q->merge_bvec_fn) {
@@ -1778,6 +1780,7 @@ void bio_endio(struct bio *bio, int error)
*/
if (bio->bi_end_io == bio_chain_endio) {
struct bio *parent = bio->bi_private;
+
bio_put(bio);
bio = parent;
} else {
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Outreachy kernel] [PATCH] block: Add blank line after variable declarations
2015-03-26 0:05 [PATCH] block: Add blank line after variable declarations Helen Fornazier
@ 2015-03-26 9:38 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2015-03-26 9:38 UTC (permalink / raw)
To: Helen Fornazier; +Cc: outreachy-kernel
On Wed, Mar 25, 2015 at 09:05:29PM -0300, Helen Fornazier wrote:
> This patch fixes the checkpatch.pl warning:
>
> WARNING: Missing a blank line after declarations
>
> Signed-off-by: Helen Fornazier <helen.fornazier@gmail.com>
> ---
> block/bio.c | 3 +++
> 1 file changed, 3 insertions(+)
Nothing I can do with this :(
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-26 9:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-26 0:05 [PATCH] block: Add blank line after variable declarations Helen Fornazier
2015-03-26 9:38 ` [Outreachy kernel] " Greg KH
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.