projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85e0e5a
)
ibmpex: add endian annotation to extract_data() helper
author
Harvey Harrison
<harvey.harrison@gmail.com>
Tue, 6 Jan 2009 22:41:37 +0000
(14:41 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:18 +0000
(15:59 -0800)
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: "Darrick J. Wong" <djwong@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hwmon/ibmpex.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/ibmpex.c
b/drivers/hwmon/ibmpex.c
index
537d9fb
..
a363633
100644
(file)
--- a/
drivers/hwmon/ibmpex.c
+++ b/
drivers/hwmon/ibmpex.c
@@
-40,7
+40,7
@@
static inline u16 extract_value(const char *data, int offset)
{
- return be16_to_cpup((
u
16 *)&data[offset]);
+ return be16_to_cpup((
__be
16 *)&data[offset]);
}
#define TEMP_SENSOR 1