diff options
author | ecashin@coraid.com <ecashin@coraid.com> | 2005-04-19 07:00:20 +0200 |
---|---|---|
committer | Greg KH <greg@press.kroah.org> | 2005-04-19 07:00:20 +0200 |
commit | 63e9cc5d6fbe8b58ea1ee96439d356cbf726fbc0 (patch) | |
tree | 91d5831da4a99c3d9dafd8e8440516787a536f73 /drivers/block/aoe/aoe.h | |
parent | [PATCH] aoe 5/12: don't try to free null bufpool (diff) | |
download | linux-63e9cc5d6fbe8b58ea1ee96439d356cbf726fbc0.tar.xz linux-63e9cc5d6fbe8b58ea1ee96439d356cbf726fbc0.zip |
[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 { struct aoe_hdr { unsigned char dst[6]; unsigned char src[6]; - unsigned char type[2]; + __be16 type; unsigned char verfl; unsigned char err; - unsigned char major[2]; + __be16 major; unsigned char minor; unsigned char cmd; - unsigned char tag[4]; + __be32 tag; }; struct aoe_atahdr { @@ -63,8 +63,8 @@ struct aoe_atahdr { }; struct aoe_cfghdr { - unsigned char bufcnt[2]; - unsigned char fwver[2]; + __be16 bufcnt; + __be16 fwver; unsigned char res; unsigned char aoeccmd; unsigned char cslen[2]; |