]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
aoe: whitespace cleanup
authorEd Cashin <ecashin@coraid.com>
Tue, 18 Dec 2012 00:03:39 +0000 (16:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:24 +0000 (17:15 -0800)
Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/aoe/aoe.h
drivers/block/aoe/aoechr.c
drivers/block/aoe/aoecmd.c
drivers/block/aoe/aoemain.c
drivers/block/aoe/aoenet.c

index 52f75c097242bd9173a64bb5e03723db056ae839..8e8da1cd204da85bfe164cab2eeb2f421148093f 100644 (file)
@@ -151,7 +151,7 @@ struct aoedev {
        struct work_struct work;/* disk create work struct */
        struct gendisk *gd;
        struct request_queue *blkq;
-       struct hd_geometry geo; 
+       struct hd_geometry geo;
        sector_t ssize;
        struct timer_list timer;
        spinlock_t lock;
index 2bf6273e67791127a68c7b4a2e398ac5b64c10cb..42e67ad6bd207dabd505c779e131b9465dad3e82 100644 (file)
@@ -287,7 +287,7 @@ aoechr_init(void)
        int n, i;
 
        n = register_chrdev(AOE_MAJOR, "aoechr", &aoe_fops);
-       if (n < 0) { 
+       if (n < 0) {
                printk(KERN_ERR "aoe: can't register char device\n");
                return n;
        }
index df86a05067e823344c4406f2cb36cc691eb7ab53..3ce01f6b3a5d1fab5d2262dccf18e9f69eb48559 100644 (file)
@@ -978,7 +978,7 @@ ktiocomplete(struct frame *f)
                pr_err("aoe: ata error cmd=%2.2Xh stat=%2.2Xh from e%ld.%d\n",
                        ahout->cmdstat, ahin->cmdstat,
                        d->aoemajor, d->aoeminor);
-noskb: if (buf)
+noskb:         if (buf)
                        clear_bit(BIO_UPTODATE, &buf->bio->bi_flags);
                goto badrsp;
        }
@@ -1191,7 +1191,7 @@ aoecmd_cfg(ushort aoemajor, unsigned char aoeminor)
        aoecmd_cfg_pkts(aoemajor, aoeminor, &queue);
        aoenet_xmit(&queue);
 }
+
 struct sk_buff *
 aoecmd_ata_id(struct aoedev *d)
 {
@@ -1230,7 +1230,7 @@ aoecmd_ata_id(struct aoedev *d)
 
        return skb_clone(skb, GFP_ATOMIC);
 }
+
 static struct aoetgt *
 addtgt(struct aoedev *d, char *addr, ulong nframes)
 {
index 04793c2c701b7b0bf707a576a5a9e1a01bccc376..4b987c2fefbe5ececb3ded4002c3075167a3082c 100644 (file)
@@ -105,7 +105,7 @@ aoe_init(void)
        aoechr_exit();
  chr_fail:
        aoedev_exit();
-       
+
        printk(KERN_INFO "aoe: initialisation failure.\n");
        return ret;
 }
index 24eca2bf94165820f4255980e7474e3f3fdef9fe..2e47404ff008777f5777e1e826716c4e7cfe8a2b 100644 (file)
@@ -124,8 +124,8 @@ aoenet_xmit(struct sk_buff_head *queue)
        }
 }
 
-/* 
- * (1) len doesn't include the header by default.  I want this. 
+/*
+ * (1) len doesn't include the header by default.  I want this.
  */
 static int
 aoenet_rcv(struct sk_buff *skb, struct net_device *ifp, struct packet_type *pt, struct net_device *orig_dev)