diff options
-rw-r--r-- | include/linux/virtio_blk.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/virtio_blk.h b/include/linux/virtio_blk.h index b80919fad0ef..5f79a5f9de79 100644 --- a/include/linux/virtio_blk.h +++ b/include/linux/virtio_blk.h | |||
@@ -15,14 +15,14 @@ | |||
15 | struct virtio_blk_config | 15 | struct virtio_blk_config |
16 | { | 16 | { |
17 | /* The capacity (in 512-byte sectors). */ | 17 | /* The capacity (in 512-byte sectors). */ |
18 | __le64 capacity; | 18 | __u64 capacity; |
19 | /* The maximum segment size (if VIRTIO_BLK_F_SIZE_MAX) */ | 19 | /* The maximum segment size (if VIRTIO_BLK_F_SIZE_MAX) */ |
20 | __le32 size_max; | 20 | __u32 size_max; |
21 | /* The maximum number of segments (if VIRTIO_BLK_F_SEG_MAX) */ | 21 | /* The maximum number of segments (if VIRTIO_BLK_F_SEG_MAX) */ |
22 | __le32 seg_max; | 22 | __u32 seg_max; |
23 | /* geometry the device (if VIRTIO_BLK_F_GEOMETRY) */ | 23 | /* geometry the device (if VIRTIO_BLK_F_GEOMETRY) */ |
24 | struct virtio_blk_geometry { | 24 | struct virtio_blk_geometry { |
25 | __le16 cylinders; | 25 | __u16 cylinders; |
26 | __u8 heads; | 26 | __u8 heads; |
27 | __u8 sectors; | 27 | __u8 sectors; |
28 | } geometry; | 28 | } geometry; |