Commit 29041b4b authored by Harvey Harrison's avatar Harvey Harrison Committed by Linus Torvalds

ibmpex: add endian annotation to extract_data() helper

Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Cc: "Darrick J. Wong" <djwong@us.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 85e0e5ad
......@@ -40,7 +40,7 @@
static inline u16 extract_value(const char *data, int offset)
{
return be16_to_cpup((u16 *)&data[offset]);
return be16_to_cpup((__be16 *)&data[offset]);
}
#define TEMP_SENSOR 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment