projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e48ec69
)
block: use get_unaligned_* helpers
author
Harvey Harrison
<harvey.harrison@gmail.com>
Fri, 4 Jul 2008 07:28:32 +0000
(09:28 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Fri, 4 Jul 2008 07:28:32 +0000
(09:28 +0200)
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/aoe/aoecmd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/aoe/aoecmd.c
b/drivers/block/aoe/aoecmd.c
index 41f818be2f7ec8c4c737acaa16ecfeddc94f42b4..2f1746295d06fc438ac4b1ba923c2aeb1d634dd8 100644
(file)
--- a/
drivers/block/aoe/aoecmd.c
+++ b/
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");