block: use get_unaligned_* helpers
Subsystems (2)
PATCH 1/8 block: use get_unaligned_* helpers
Signed-off-by Harvey Harrison <[email protected]>
--- drivers/block/aoe/aoecmd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/block/aoe/aoecmd.c +1 -1
@@ -1001,7 +1001,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" );
Signature · 1 line
1.5.5.1.350.gbbbf