Whitespace-only changes: fixed two errors reported by checkpatch.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@941 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2009-07-09 06:29:58 +00:00
parent 88670dbee9
commit 901e476100
+2 -2
View File
@@ -302,7 +302,7 @@ diff -upkr linux-2.6.30.1/block/blk-map.c linux-2.6.30.1/block/blk-map.c
+
+ hdr->page_link = (unsigned long)sgl;
+ hdr->length = nents;
+
+
+ for_each_sg(new_sgl, sg, new_sgl_nents, i) {
+ struct page *pg;
+
@@ -542,7 +542,7 @@ diff -upkr linux-2.6.30.1/block/blk-map.c linux-2.6.30.1/block/blk-map.c
+ goto out;
+
+ res = __blk_rq_map_kern_sg(rq, sgl, nents, gfp, &sg_to_copy,
+ &nents_to_copy);
+ &nents_to_copy);
+ if (res != 0) {
+ blk_rq_unmap_kern_sg(rq, 0);
+ goto out;