diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-01-15 14:33:31 +0300 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-01-21 08:58:57 +0300 |
commit | bb6ec57600f0a57554652d21e55d57a658420921 (patch) | |
tree | 5147ffc8bdbba005d1008329850ed5715452a9da /drivers/block/virtio_blk.c | |
parent | 25e65e4efca4116a9fc7a892ede2cf98f138de45 (diff) | |
download | linux-bb6ec57600f0a57554652d21e55d57a658420921.tar.xz |
virtio_blk: coding style fixes
Most of our code has
struct foo {
}
Fix two instances where blk is inconsistent.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'drivers/block/virtio_blk.c')
-rw-r--r-- | drivers/block/virtio_blk.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index b72c11a10f40..655e570b9b31 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -28,8 +28,7 @@ struct virtio_blk_vq { char name[VQ_NAME_LEN]; } ____cacheline_aligned_in_smp; -struct virtio_blk -{ +struct virtio_blk { struct virtio_device *vdev; /* The disk structure for the kernel. */ @@ -52,8 +51,7 @@ struct virtio_blk struct virtio_blk_vq *vqs; }; -struct virtblk_req -{ +struct virtblk_req { struct request *req; struct virtio_blk_outhdr out_hdr; struct virtio_scsi_inhdr in_hdr; |