Skip to contentSkip to conversation

block:bio.c Cleanup styleguide errors reported by checkpatch.pl

PATCH New Jim Richardson 1 participant 1 message Jul 18, 2014 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block:bio.c Cleanup styleguide errors reported by checkpatch.pl

3 styleguide errors cleaned up from checkpatch.pl report for block/bio.c

---
 block/bio.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
block/bio.c +3 -3
index 0ec61c9..41707f0 100644
@@ -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);
 	}
 }
 
Signature · 1 line
2.0.1