From: Harvey Harrison Signed-off-by: Harvey Harrison Cc: Jens Axboe Signed-off-by: Andrew Morton --- drivers/block/aoe/aoecmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/block/aoe/aoecmd.c~block-use-get_unaligned_-helpers drivers/block/aoe/aoecmd.c --- a/drivers/block/aoe/aoecmd.c~block-use-get_unaligned_-helpers +++ a/drivers/block/aoe/aoecmd.c @@ -1003,7 +1003,7 @@ aoecmd_cfg_rsp(struct sk_buff *skb) * Enough people have their dip switches set backwards to * warrant a loud message for this special case. */ - aoemajor = be16_to_cpu(get_unaligned(&h->major)); + aoemajor = get_unaligned_be16(&h->major); if (aoemajor == 0xfff) { printk(KERN_ERR "aoe: Warning: shelf address is all ones. " "Check shelf dip switches.\n"); _