diff options
author | ecashin@coraid.com <ecashin@coraid.com> | 2005-04-19 01:00:20 -0400 |
---|---|---|
committer | Greg KH <greg@press.kroah.org> | 2005-04-19 01:00:20 -0400 |
commit | 63e9cc5d6fbe8b58ea1ee96439d356cbf726fbc0 (patch) | |
tree | 91d5831da4a99c3d9dafd8e8440516787a536f73 /drivers/block/aoe/aoe.h | |
parent | 03347936afcba990525736ae39daa13f643eac5f (diff) |
[PATCH] aoe 6/12: Alexey Dobriyan sparse cleanup
Alexey Dobriyan sparse cleanup
Signed-off-by: Alexey Dobriyan <adobriyan@mail.ru>
Signed-off-by: Ed L. Cashin <ecashin@coraid.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/block/aoe/aoe.h')
-rw-r--r-- | drivers/block/aoe/aoe.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h index cb5dca3ce9f5..d3b0e2ca151a 100644 --- a/drivers/block/aoe/aoe.h +++ b/drivers/block/aoe/aoe.h | |||
@@ -39,13 +39,13 @@ enum { | |||
39 | struct aoe_hdr { | 39 | struct aoe_hdr { |
40 | unsigned char dst[6]; | 40 | unsigned char dst[6]; |
41 | unsigned char src[6]; | 41 | unsigned char src[6]; |
42 | unsigned char type[2]; | 42 | __be16 type; |
43 | unsigned char verfl; | 43 | unsigned char verfl; |
44 | unsigned char err; | 44 | unsigned char err; |
45 | unsigned char major[2]; | 45 | __be16 major; |
46 | unsigned char minor; | 46 | unsigned char minor; |
47 | unsigned char cmd; | 47 | unsigned char cmd; |
48 | unsigned char tag[4]; | 48 | __be32 tag; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | struct aoe_atahdr { | 51 | struct aoe_atahdr { |
@@ -63,8 +63,8 @@ struct aoe_atahdr { | |||
63 | }; | 63 | }; |
64 | 64 | ||
65 | struct aoe_cfghdr { | 65 | struct aoe_cfghdr { |
66 | unsigned char bufcnt[2]; | 66 | __be16 bufcnt; |
67 | unsigned char fwver[2]; | 67 | __be16 fwver; |
68 | unsigned char res; | 68 | unsigned char res; |
69 | unsigned char aoeccmd; | 69 | unsigned char aoeccmd; |
70 | unsigned char cslen[2]; | 70 | unsigned char cslen[2]; |