Skip to contentSkip to conversation

block: Add blank line after variable declarations

PATCH In review Helen Fornazier 2 participants 2 messages Mar 26, 2015 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: Add blank line after variable declarations

This patch fixes the checkpatch.pl warning:

WARNING: Missing a blank line after declarations

---
 block/bio.c | 3 +++
 1 file changed, 3 insertions(+)
block/bio.c +3 -0
index 7495017..84f55b9 100644
@@ -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 {
Signature · 1 line
1.9.1
#1 lore raw
Quoted 8 lines · Helen Fornazier

This patch fixes the checkpatch.pl warning:

WARNING: Missing a blank line after declarations

---
 block/bio.c | 3 +++
 1 file changed, 3 insertions(+)

Nothing I can do with this :(