summaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe/aoe.h
diff options
context:
space:
mode:
authorEd L. Cashin <ecashin@coraid.com>2008-02-08 13:20:01 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 18:22:31 +0100
commit1eb0da4cea28ae8f1bbe61822a2cc04e6d074e03 (patch)
tree5f5e63711244ee845fe1bfb4faf1116605d0e053 /drivers/block/aoe/aoe.h
parentaoe: handle multiple network paths to AoE device (diff)
downloadlinux-1eb0da4cea28ae8f1bbe61822a2cc04e6d074e03.tar.xz
linux-1eb0da4cea28ae8f1bbe61822a2cc04e6d074e03.zip
aoe: mac_addr: avoid 64-bit arch compiler warnings
By returning unsigned long long, mac_addr does not generate compiler warnings on 64-bit architectures. Signed-off-by: Ed L. Cashin <ecashin@coraid.com> Cc: Greg KH <greg@kroah.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, 1 insertions, 1 deletions
diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h
index 87df18bf4dea..aecaac3f2e58 100644
--- a/drivers/block/aoe/aoe.h
+++ b/drivers/block/aoe/aoe.h
@@ -198,4 +198,4 @@ void aoenet_xmit(struct sk_buff *);
int is_aoe_netif(struct net_device *ifp);
int set_aoe_iflist(const char __user *str, size_t size);
-u64 mac_addr(char addr[6]);
+unsigned long long mac_addr(char addr[6]);