summaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe/aoe.h
diff options
context:
space:
mode:
authorEd Cashin <ecashin@coraid.com>2012-10-05 02:16:44 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-05 20:05:29 +0200
commit7159e969d1963f19e7550aafd234b0c5361e5d69 (patch)
treef6603c9341960d5344e6ddb3afac6a23e9fde635 /drivers/block/aoe/aoe.h
parentaoe: retain static block device numbers for backwards compatibility (diff)
downloadlinux-7159e969d1963f19e7550aafd234b0c5361e5d69.tar.xz
linux-7159e969d1963f19e7550aafd234b0c5361e5d69.zip
aoe: update and specify AoE address guards and error messages
In general, specific is better when it comes to messages about AoE usage problems. Also, explicit checks for the AoE broadcast addresses are added. Signed-off-by: Ed Cashin <ecashin@coraid.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/aoe/aoe.h')
-rw-r--r--drivers/block/aoe/aoe.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h
index 7b694f7da2de..4ae2468b4a06 100644
--- a/drivers/block/aoe/aoe.h
+++ b/drivers/block/aoe/aoe.h
@@ -49,8 +49,6 @@ struct aoe_hdr {
__be32 tag;
};
-#define AOE_MAXSHELF (0xffff-1) /* one less than the broadcast shelf address */
-
struct aoe_atahdr {
unsigned char aflags;
unsigned char errfeat;