aoe: whitespace cleanup

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>
This commit is contained in:
Ed Cashin 2012-12-17 16:03:39 -08:00 committed by Linus Torvalds
parent d437962504
commit a04b41cd2c
5 changed files with 8 additions and 8 deletions

View file

@ -151,7 +151,7 @@ struct aoedev {
struct work_struct work;/* disk create work struct */ struct work_struct work;/* disk create work struct */
struct gendisk *gd; struct gendisk *gd;
struct request_queue *blkq; struct request_queue *blkq;
struct hd_geometry geo; struct hd_geometry geo;
sector_t ssize; sector_t ssize;
struct timer_list timer; struct timer_list timer;
spinlock_t lock; spinlock_t lock;

View file

@ -287,7 +287,7 @@ aoechr_init(void)
int n, i; int n, i;
n = register_chrdev(AOE_MAJOR, "aoechr", &aoe_fops); n = register_chrdev(AOE_MAJOR, "aoechr", &aoe_fops);
if (n < 0) { if (n < 0) {
printk(KERN_ERR "aoe: can't register char device\n"); printk(KERN_ERR "aoe: can't register char device\n");
return n; return n;
} }

View 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", pr_err("aoe: ata error cmd=%2.2Xh stat=%2.2Xh from e%ld.%d\n",
ahout->cmdstat, ahin->cmdstat, ahout->cmdstat, ahin->cmdstat,
d->aoemajor, d->aoeminor); d->aoemajor, d->aoeminor);
noskb: if (buf) noskb: if (buf)
clear_bit(BIO_UPTODATE, &buf->bio->bi_flags); clear_bit(BIO_UPTODATE, &buf->bio->bi_flags);
goto badrsp; goto badrsp;
} }
@ -1191,7 +1191,7 @@ aoecmd_cfg(ushort aoemajor, unsigned char aoeminor)
aoecmd_cfg_pkts(aoemajor, aoeminor, &queue); aoecmd_cfg_pkts(aoemajor, aoeminor, &queue);
aoenet_xmit(&queue); aoenet_xmit(&queue);
} }
struct sk_buff * struct sk_buff *
aoecmd_ata_id(struct aoedev *d) aoecmd_ata_id(struct aoedev *d)
{ {
@ -1230,7 +1230,7 @@ aoecmd_ata_id(struct aoedev *d)
return skb_clone(skb, GFP_ATOMIC); return skb_clone(skb, GFP_ATOMIC);
} }
static struct aoetgt * static struct aoetgt *
addtgt(struct aoedev *d, char *addr, ulong nframes) addtgt(struct aoedev *d, char *addr, ulong nframes)
{ {

View file

@ -105,7 +105,7 @@ aoe_init(void)
aoechr_exit(); aoechr_exit();
chr_fail: chr_fail:
aoedev_exit(); aoedev_exit();
printk(KERN_INFO "aoe: initialisation failure.\n"); printk(KERN_INFO "aoe: initialisation failure.\n");
return ret; return ret;
} }

View 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 static int
aoenet_rcv(struct sk_buff *skb, struct net_device *ifp, struct packet_type *pt, struct net_device *orig_dev) aoenet_rcv(struct sk_buff *skb, struct net_device *ifp, struct packet_type *pt, struct net_device *orig_dev)