xen/blkback: Fixing some more of the cleanpatch.pl warnings.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 12 May 2011 20:23:06 +0000 (16:23 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 12 May 2011 21:55:48 +0000 (17:55 -0400)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkback/blkback.c
drivers/block/xen-blkback/common.h

index 362fbf6f656d84c71c78798cc76c7f115c0cfcc1..d06eb6a50d57c23dabe85ad74183361820e7644e 100644 (file)
@@ -637,7 +637,7 @@ static int dispatch_rw_block_io(struct blkif_st *blkif,
        /* This will be hit if the operation was a flush. */
        if (!bio) {
                BUG_ON(operation != WRITE_FLUSH);
-               
+
                bio = bio_alloc(GFP_KERNEL, 0);
                if (unlikely(bio == NULL))
                        goto fail_put_bio;
index 647d974da3928d8d14a698e57b0252cae4821939..629546558a47b5917f8b8865741c6f329606a12a 100644 (file)
@@ -132,7 +132,7 @@ int xen_blkbk_flush_diskcache(struct xenbus_transaction xbt,
 
 struct xenbus_device *xen_blkbk_xenbus(struct backend_info *be);
 
-static void inline blkif_get_x86_32_req(struct blkif_request *dst,
+static inline void blkif_get_x86_32_req(struct blkif_request *dst,
                                        struct blkif_x86_32_request *src)
 {
        int i, n = BLKIF_MAX_SEGMENTS_PER_REQUEST;
@@ -148,7 +148,7 @@ static void inline blkif_get_x86_32_req(struct blkif_request *dst,
                dst->u.rw.seg[i] = src->seg[i];
 }
 
-static void inline blkif_get_x86_64_req(struct blkif_request *dst,
+static inline void blkif_get_x86_64_req(struct blkif_request *dst,
                                        struct blkif_x86_64_request *src)
 {
        int i, n = BLKIF_MAX_SEGMENTS_PER_REQUEST;