diff options
author | ecashin@coraid.com <ecashin@coraid.com> | 2005-04-18 22:00:20 -0700 |
---|---|---|
committer | Greg KH <greg@press.kroah.org> | 2005-04-18 22:00:20 -0700 |
commit | 63e9cc5d6fbe8b58ea1ee96439d356cbf726fbc0 (patch) | |
tree | 91d5831da4a99c3d9dafd8e8440516787a536f73 /drivers/block/aoe/aoe.h | |
parent | 03347936afcba990525736ae39daa13f643eac5f (diff) | |
download | kernel_samsung_smdk4412-63e9cc5d6fbe8b58ea1ee96439d356cbf726fbc0.zip kernel_samsung_smdk4412-63e9cc5d6fbe8b58ea1ee96439d356cbf726fbc0.tar.gz kernel_samsung_smdk4412-63e9cc5d6fbe8b58ea1ee96439d356cbf726fbc0.tar.bz2 |
[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 cb5dca3..d3b0e2c 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]; |